[swift-evolution] [swift-evolution-announce] [Review] SE-0067: Enhanced Floating Point Protocols

Stephen Canon scanon at apple.com
Fri Apr 22 09:56:47 CDT 2016


> On Apr 22, 2016, at 10:54 AM, Xiaodi Wu <xiaodi.wu at gmail.com> wrote:
> 
> Naive question: is it necessary to make a trade-off here? Why not an
> associated type Exponent that's Int for Float, Double, and Float80,
> allowing for something else for bignums?

It’s an added (fairly minor) complexity to the API surface that confers approximately zero benefit.

– Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160422/3528c6d6/attachment.html>


More information about the swift-evolution mailing list