March 24, 2011 [D-runtime] [D-Programming-Language/druntime] fc1d5b: Better error message for integer overflow exceptio... | ||||
---|---|---|---|---|
| ||||
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. |
Copyright © 1999-2021 by the D Language Foundation