[Issue 9717] `std.math.round` rounds away from zero instead of to the nearest even integer
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 16 00:42:39 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9717
--- Comment #4 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-03-16 10:42:37 MSK ---
(In reply to comment #3)
> That said, "nearest half" is one scheme among many other. I'm not sure about
> "default".
I mean the function is documented to behave this way:
http://dlang.org/phobos/std_math.html#round
Also I haven't seen examples where you have to use another theme but I saw ones
where you have to use "half to even" theme.
--
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