[PATCH RESEND 01/14] stdio-common: Add tests for formatted scanf input specifiers

Andreas Schwab schwab@suse.de
Thu Feb 20 14:44:26 GMT 2025


On Feb 15 2025, Joseph Myers wrote:

> In short: for x86/m68k long double I think the comparison approach used is 
> unreliable, depending on the compiler version, because it relies on 
> padding bits not changing.

On m68k all 96 bits are part of the value.  The hardware will always
write zeros in the gap between the exponent and the mantissa, and ignore
them on read.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list