[Issue 21151] div bug: long -5000 / size_t 2 = 9223372036854773308

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 13 07:42:42 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=21151

--- Comment #2 from mw <mingwu at gmail.com> ---
It can NOT silently do this, at least a warning.

BTW, on Windows, dmd correctly output -2500.

--


More information about the Digitalmars-d-bugs mailing list