[Issue 3248] lossless floating point formatting
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 12 19:45:29 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3248
--- Comment #4 from assorted <moi667 at hotmail.com> 2009-08-12 19:45:28 PDT ---
As far as I understand it, removing trailing zeros from .8 precision and (c)
are the same.
This is because the first (right to left) non-zero you encounter is there
because of 2^x.
I actually used nextUp to test a few ranges of floats :) (I have a not so fast
computer)
I remember .dig being 6 for all floats (could be wrong here, not close to any
dmd.exe)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list