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: nob...@puremagic.com Reporter: dl...@croco-puzzle.com assert(abs(int.min)==int.min); The same is true for the other signed integral types. I think, an Exception should be thrown instead. --