[Issue 20205] std.math: Wrong result for abs(int.min)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 12 15:38:45 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20205
--- Comment #3 from Berni <dlang at croco-puzzle.com> ---
Having used Java for years unsigned integers often don't come to my mind...
It's a good idea to use them! :-)
But:
xmin.d(7): Deprecation: integral promotion not done for -x, use
'-transition=intpromote' switch or -cast(int)(x)
--
More information about the Digitalmars-d-bugs
mailing list