[Issue 3248] lossless floating point formatting
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Sep 19 14:33:16 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=3248
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #13 from hsteoh at quickfur.ath.cx ---
Wouldn't the most lossless format be to just dump the representation in
hexadecimal (i.e., in the same format as a hexadecimal float literal)? That way
you're guaranteed that you don't get excess precision where there is none, nor
do you lose any bits.
--
More information about the Digitalmars-d-bugs
mailing list