Some interesting deviations from the industry-standard Berkeley SoftFloat and th...

@gloriouscow@oldbytes.space

Some interesting deviations from the industry-standard Berkeley SoftFloat and the x87.

x87 has the concept of an unnormal; this can be produced by loading certain encodings of denormal numbers.

We can also have things like pseudo-denormals.

The x87 has a denormal exception that SoftFloat doesn't handle; or at least that TestFloat doesn't record.

The x87 has two types of infinity.
Affine infinity is the classic number line; with positive and negative infinity on each "end".

Projective infinity makes infinity unsigned. When this mode is selected both infinity encodings compare equal.

I'm not a mathematician so my apologies if any of this is poorly explained.

#retrocomputing