]> Savannah Git Hosting - gnulib.git/commit
totalorder*: Fix test failures on SH4.
authorBruno Haible <bruno@clisp.org>
Sat, 14 Oct 2023 19:50:49 +0000 (21:50 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 14 Oct 2023 19:50:49 +0000 (21:50 +0200)
commit707a61b1b61bee0f407a35b310f0f5d8a8cdb9a0
tree97d18aab046f327dfb04d96290f91fcf04f18228
parent979149c7a5b82bdc041f530de8661ebc3e0bdb41
totalorder*: Fix test failures on SH4.

* lib/snan.h: Update comment.
* lib/totalorderf.c (totalorderf): On sh4, invert bit 22 before
comparing two NaNs.
* lib/totalorder.c (totalorder): On sh4, invert bit 51 before comparing
two NaNs.
* lib/totalorderl.c (totalorderl): On sh4, invert bit 51 or 47 of the
xhi, yhi parts before comparing two NaNs.
ChangeLog
lib/snan.h
lib/totalorder.c
lib/totalorderf.c
lib/totalorderl.c