http://d.puremagic.com/issues/show_bug.cgi?id=9717
Summary: `std.math.round` rounds away from zero instead of to
the nearest even integer
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis Shelomovskij <[email protected]> 2013-03-14
15:16:12 MSK ---
Rounding to the nearest even integer is a default rounding mode and is an
expected, useful (e.g. for mesurements rounding), and documented behaviour for
`std.math.round`. But instead it currently rounds away from zero (it even uses
C's `roundl`).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------