Time to move std.experimental.checkedint to std.checkedint ?

tsbockman thomas.bockman at gmail.com
Wed Mar 31 04:40:02 UTC 2021


On Wednesday, 31 March 2021 at 04:26:28 UTC, Andrei Alexandrescu 
wrote:
> FWIW I just tested -fwrapv and -ftrapv. The former does nothing 
> discernible:

-fwrapv isn't supposed to do anything discernible; it just 
prevents the compiler from taking advantage of otherwise 
undefined behavior:

"Instructs the compiler to assume that signed arithmetic overflow 
of addition, subtraction, and multiplication, wraps using 
two's-complement representation."

https://www.keil.com/support/man/docs/armclang_ref/armclang_ref_sam1465487496421.htm


More information about the Digitalmars-d mailing list