[swift-evolution] Include sqrt and remainder into FloatingPoint protocol as built in functions as required by IEEE754

Xiaodi Wu xiaodi.wu at gmail.com
Fri Jul 1 10:42:58 CDT 2016


As mentioned in the other thread, these are already accepted for inclusion
as part of SE-0067.
On Fri, Jul 1, 2016 at 10:35 Björn Forster <swift-evolution at swift.org>
wrote:

> The IEEE754 standard requires a standard conform floating point
> implementation besides add,mul,sub,div and rounding functions and lots of
> other things also to provide sqrt and remainder as builtin function.
> Shouldn't be sqrt and remainder (or mod) also be added to the FloatingPoint
> protocol now that also the rounding functions might be added with SE-0113:
> Add integral rounding functions to FloatingPoint
> <https://github.com/apple/swift-evolution/blob/master/proposals/0113-rounding-functions-on-floatingpoint.md>
> ?
>
> Kind Regards,
> Björn
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160701/6269ed78/attachment.html>


More information about the swift-evolution mailing list