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

Maciej W. Rozycki macro@redhat.com
Thu Feb 20 18:19:11 GMT 2025


On Thu, 20 Feb 2025, Andreas Schwab 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.

 That is useful information, thank you.  I suppose it comes from m68k 
being big endian, so it simplifies handling internally in the silicon.

  Maciej



More information about the Libc-alpha mailing list