core.checkedint added to druntime

David Bregman via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jun 18 20:42:10 PDT 2014


On Wednesday, 18 June 2014 at 01:26:16 UTC, Walter Bright wrote:
> https://github.com/D-Programming-Language/druntime/pull/839

I think the mulu implementation is incorrect. There can be an 
overflow even when r = 0. For example consider the int version 
with x = y = 1<<16.


More information about the Digitalmars-d-announce mailing list