> On 27 Jun 2016, at 07:55, James Hillhouse <[email protected]> wrote:
>
>>
>> On Jun 27, 2016, at 1:53 AM, Xiaodi Wu via swift-evolution
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>> I disagree: in English, the nouns are floor and ceiling. That's what they
>> should be called.
>
> Completely agree.
This is why I suggested roundedDown() and roundedUp() in place of floor() and
ceiling(), as the latter are kind of strange terms to fit into Swift, they're
not that explanatory to people that don't know them, and rounding up and down
with precision greater than zero could also be useful operations. Plus it would
group all rounding methods together.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution