D-Programming-Language/dmd — pull request #3949 by WalterBright (2014-09-06 00:05:21+00:00)
Title: use checkedint to check overflow

Refactor to simplify the logic.