Integer overflow and underflow semantics?
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 23 10:40:08 PDT 2014
On Tuesday, 22 July 2014 at 15:31:22 UTC, Ola Fosheim Grøstad
wrote:
> A system level language should encourage using the fastest
> opcode, so you shouldn't enforce 32 bit masking when the
> fastest register size is 64 bit etc.
This is what int_fast32_t is for, but unfortunately it's not
guaranteed to be the fastest, but you can use something similar.
More information about the Digitalmars-d
mailing list