[Issue 6725] core.time.dur should accept floating point

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 8 18:23:35 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6725



--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-02-08 18:23:30 PST ---
In general, using floating point values like that is asking for trouble,
because you're going to run into precision problems. It's far better to use
integral values with the more precise units, but I can see why someone would
want to be able to do this. It wouldn't be all that big a deal to add it, and
it's probably worth having. It's just of questionable value if you actually
want to be precise.

-- 
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