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

Björn Forster bjoern.forster at googlemail.com
Fri Jul 1 07:25:33 CDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160701/d865e0df/attachment-0001.html>


More information about the swift-evolution mailing list