[swift-evolution] [swift-evolution-announce] [Returned for revision] SE-0089: Renaming String.init<T>(_: T)
clattner at apple.com
Sat May 28 15:02:08 CDT 2016
On May 27, 2016, at 9:10 PM, Jacob Bandes-Storch via swift-evolution <swift-evolution at swift.org> wrote:
> Does "lossless" preclude floating-point numbers from being printed in decimal unless they are exactly representable?
No, FP types should be able to conform. There are algorithms that are guaranteed to turn IEEE floating point values into a decimal representation in a reversible way.
I don’t think we care about NaN payloads, but an encoding could be created for them as well.
More information about the swift-evolution