On May 27, 2016, at 9:10 PM, Jacob Bandes-Storch via swift-evolution <[email protected]> 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. -Chris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
