[Issue 3248] lossless floating point formatting
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 7 04:41:59 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3248
--- Comment #10 from Stewart Gordon <smjg at iname.com> 2009-09-07 04:41:58 PDT ---
> Neither. It's the number of sic figs which are accurate in the worst case. So
> it's the _minimum_ number of digits which are stored. To unambiguously define
> the number, more digits are almost always required.
So, if you try to put a decimal number into a float, it's how many s.f. you can
get out again and be sure they'll be the same. I don't see in what cases this
differs from "the number of s.f. to which numbers are guaranteed to be
storeable unambiguously"....
--
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