[swift-dev] Why are BinaryFloatingPoint's RawSignificand and RawExponent different type?

Jens Persson jens at bitcycle.com
Fri Aug 26 17:06:04 CDT 2016


I can understand why
Double.RawSignificand is UInt64
and
Float.RawSignificand is UInt32

But I can't understand why both
Double.RawExponent
and
Float.RawExponent
should be UInt.

Why aren't they also just UInt64 and UInt32, resp.?

/Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160827/73940e4c/attachment.html>


More information about the swift-dev mailing list