[OT] The Usual Arithmetic Confusions
deadalnix
deadalnix at gmail.com
Thu Feb 17 01:06:13 UTC 2022
On Friday, 4 February 2022 at 20:31:58 UTC, H. S. Teoh wrote:
> On Fri, Feb 04, 2022 at 12:24:37PM -0800, Walter Bright via
> Digitalmars-d wrote:
>> 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.
>
> PDP-11 instructions no longer resemble how modern machines
> work, though. What made sense back then may not necessarily
> make sense anymore today.
>
>
> T
Instruction sets really don't have changed much.
More information about the Digitalmars-d
mailing list