https://issues.dlang.org/show_bug.cgi?id=20205
Issue ID: 20205
Summary: std.math: Wrong result for abs(int.min)
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
assert(abs(int.min)==int.min);
The same is true for the other signed integral types.
I think, an Exception should be thrown instead.
--
