🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Thomas Koenig Wed, 07 Oct 2026 10:16
Re: two's complement and Flags (Re: arithmetic and endian history)
#5
Author: Thomas Koenig
Date: Wed, 07 Oct 2026 10:16
16 lines
1792 bytes
Terje Mathisen <terje.mathisen@tmsw.no> schrieb:

> I.e the only difference between a fp and integer comparator lies in the 
> need to detect any NaNs, all the rest can reuse all but the top bit of 
> the integer comparator.

#ifdef NITPICK

A one's complement integer comparator, +0.0 is equal to -0.0.

#endif

-- 
This USENET posting was made without artificial intelligence,
artificial impertinence, artificial arrogance, artificial stupidity,
artificial flavorings or artificial colorants.
Re: two's complement and Flags (Re: arithmetic and endian history)
#13
Author: John Levine
Date: Wed, 07 Oct 2026 19:53
19 lines
1829 bytes
According to Thomas Koenig  <tkoenig@netcologne.de>:
>Terje Mathisen <terje.mathisen@tmsw.no> schrieb:
>
>> I.e the only difference between a fp and integer comparator lies in the 
>> need to detect any NaNs, all the rest can reuse all but the top bit of 
>> the integer comparator.
>
>#ifdef NITPICK
>
>A one's complement integer comparator, +0.0 is equal to -0.0.
>
>#endif

You would think so, but you'd often be disappointed.

-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads