[OT] The Usual Arithmetic Confusions

deadalnix deadalnix at gmail.com
Fri Jan 28 18:39:54 UTC 2022

On Friday, 28 January 2022 at 02:15:51 UTC, Paul Backus wrote:
> https://shafik.github.io/c++/2021/12/30/usual_arithmetic_confusions.html

For what it is worth, the first exemple is fixed in D.

The multiplication one is particularly interesting. The other 
ones really banal wrap around behavior, which your really can't 
do without if youw ant to make anything fast, IMO.

I'm surprised there aren't more exemple of signed -> unsigned 
conversion because that one is a real mind fuck.

More information about the Digitalmars-d mailing list