Gary Wright wrote: > > I don't think it is even possible unless you introduce binary (or maybe > hex) floating point literals. That is the only way you are going to be > able to safely round-trip between an internal IEEE floating point value > and a string representation. No that's not the only one. Take a look at [ruby-core:23145]. You can reach to the same answer when you happen to think that hexadecimal numbers are all representable in decimal. So are binaries. Not all decimal floats can be represented in binary, but all binary floats must have a corresponding decimal representation. That is sufficient for this situation.