[swift-evolution] [swift-evolution-announce] [Review] SE-0113: Add integral rounding functions to FloatingPoint

Jordan Rose jordan_rose at apple.com
Fri Jul 1 12:13:51 CDT 2016


> On Jul 1, 2016, at 10:13, Stephen Canon <scanon at apple.com> wrote:
> 
>> On Jul 1, 2016, at 1:11 PM, Jordan Rose via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> 
>> [Proposal: https://github.com/apple/swift-evolution/blob/master/proposals/0113-rounding-functions-on-floatingpoint.md <https://github.com/apple/swift-evolution/blob/master/proposals/0113-rounding-functions-on-floatingpoint.md> ]
>> 
>> Just wondering, why no 'awayFromZero' case?
> 
> It’s not defined or required by IEEE 754.  The others are.  I wouldn’t be opposed to adding some other rounding modes, but the IEEE 754 set is as good as any as a starting point.

Next time I will search first: https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160627/022697.html. Thanks, Steve.

Jordan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160701/423d7ff5/attachment.html>


More information about the swift-evolution mailing list