The case for integer overflow checks?

bitwise via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 16 00:00:42 UTC 2017


On Friday, 15 September 2017 at 21:21:01 UTC, Walter Bright wrote:
> On 9/15/2017 1:46 AM, Guillaume Piolat wrote:
>> If overflow checks happen to be more or less cheap like 
>> (surprinsingly) array bounds checks are, it could be a nice 
>> thing to pay for.
>
> https://dlang.org/phobos/std_experimental_checkedint.html

Will this ever be integrated directly into the compiler?


More information about the Digitalmars-d mailing list