September 12, 2019
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: nobody@puremagic.com
          Reporter: dlang@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.

--