]> Savannah Git Hosting - gnulib.git/commit
totalorder*: Fix test failures on PA-RISC and MIPS CPUs.
authorBruno Haible <bruno@clisp.org>
Sat, 14 Oct 2023 18:48:13 +0000 (20:48 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Oct 2023 18:48:13 +0000 (20:48 +0200)
commit979149c7a5b82bdc041f530de8661ebc3e0bdb41
treef98d28c0ead4e67d22f523e4848c6be208bbc806
parent57b9775f4a36aadb32bfcc445bfe8038190ca689
totalorder*: Fix test failures on PA-RISC and MIPS CPUs.

* lib/totalorderf.c (totalorderf): On hppa and mips, invert bit 22
before comparing two NaNs.
* lib/totalorder.c (totalorder): On hppa and mips, invert bit 51 before
comparing two NaNs.
* lib/totalorderl.c: Include <float.h>.
(totalorderl): On hppa and mips, invert bit 51 or 47 of the xhi, yhi
parts before comparing two NaNs.
* modules/totalorderl (Depends-on): Add 'float'.
ChangeLog
lib/totalorder.c
lib/totalorderf.c
lib/totalorderl.c
modules/totalorderl