[D-runtime] [D-Programming-Language/druntime] fc1d5b: Better error message for integer overflow exceptio...

noreply at github.com noreply at github.com
Thu Mar 24 08:24:40 PDT 2011


Branch: refs/heads/master
Home:   https://github.com/D-Programming-Language/druntime

Commit: fc1d5bbf5ac7b6afdcc68dd3be6e31fb877a55c2
    https://github.com/D-Programming-Language/druntime/commit/fc1d5bbf5ac7b6afdcc68dd3be6e31fb877a55c2
Author: Don Clugston <dclugston at googlemail.com>
Date:   2011-03-24 (Thu, 24 Mar 2011)

Changed paths:
  M src/rt/deh.d

Log Message:
-----------
Better error message for integer overflow exception

I had read somewhere that this never happens on x86, but I discovered that isn't
true -- it happens for division of (-int.max-1) % -1. Possibly for some other
cases as well.




More information about the D-runtime mailing list