On Friday, 21 November 2014 at 13:59:08 UTC, ketmar via Digitalmars-d wrote:

any code which does something like `if (a-b < 0)` is broken. it

Modify it: https://github.com/D-Programming-Language/druntime/blob/master/src/core/checkedint.d

Modify method: subu(uint ...) or subu(ulong ...)
if(x<y)
return y -x ;
else
 return x -y;

It will be not broken.

Reply via email to