[OT] The Usual Arithmetic Confusions

Walter Bright newshound2 at digitalmars.com
Fri Feb 4 20:24:37 UTC 2022


On 2/4/2022 5:18 AM, Adam D Ruppe wrote:
> (and what C does doesn't make a whole lot of sense.)

C was developed on a PDP-11 and the integral promotions rules come about because 
of the way the -11 instructions work. It's the same for the float=>double 
promotion rules.


More information about the Digitalmars-d mailing list