Is there a formula for overflow?
Basile B.
b2.temp at gmx.com
Wed Nov 30 03:21:19 UTC 2022
On Wednesday, 30 November 2022 at 03:19:49 UTC, Basile B. wrote:
> [...]
> It's always a wraparound (think modulo) but your examples with
> negative number can be explained because there are hidden
> unsigned to signed implicit convertions.
> That the only special things D does.
forgot to say, you can use the dmd flag -vcg-ast to see the
hidden rewrites
More information about the Digitalmars-d-learn
mailing list