Skip to content

80-bit pseudo-denormals #37

@sards3

Description

@sards3

It seems that 80-bit pseudo-denormals (that is, 80-bit extended floats with exponent of zero and significand greater than 0x8000000000000000) are not handled properly. For example, there is an unhandled overflow here:


(i.e. if you add the smallest denormal w/ significand 0x0000000000000001 to the largest pseudo-denormal w/ significand 0xffffffffffffffff, SoftFloat gives zero as the answer.)

I don't know if handling pseudo-denormals is within the scope of Berkeley Softfloat. But since the 80-bit extended format is fairly specific to Intel x87 FPUs, it seems like pseudo-denormals should be handled just as x87 handles them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions