On Nov 24 2020, Szabolcs Nagy via Gcc wrote: >> glibc evaluates the bit pattern of the 80-bit long double and in the >> process, ignores the integer bit, i.e. bit 63. As a result, it considers >> the unnormal number as a valid long double and isnanl returns 0. > > i think m68k and x86 are different here.
The mc68881 doesn't trap on unnormal numbers, it implicitly converts such input representations to normal, denormal or zero, as appropriate. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."