How to check for overflow when adding/multiplying numbers?
Dave P. via Digitalmars-d-learn Mon, 06 Dec 2021 09:50:58 -0800
I’m porting some C code which uses the gcc intrinsics to do a
multiply/add with overflow checking. See
[here](https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html) for reference. Is there a D equivalent?
- How to check for overflow whe... Dave P. via Digitalmars-d-learn
- Re: How to check for ove... Ola Fosheim Grøstad via Digitalmars-d-learn
- Re: How to check for... Dave P. via Digitalmars-d-learn