mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
012483cf93
RISC-V's fmax(sNAN,4) returns 4 but glibc expects it to return qNAN.
* sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
* sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
* sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
* sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
(cherry picked from commit
|
||
---|---|---|
.. | ||
bits | ||
nofpu | ||
nptl | ||
rv64 | ||
rvd | ||
rvf | ||
sys | ||
__longjmp.S | ||
backtrace.c | ||
bsd-_setjmp.c | ||
bsd-setjmp.c | ||
configure | ||
configure.ac | ||
dl-machine.h | ||
dl-tls.h | ||
dl-trampoline.S | ||
e_sqrtl.c | ||
fpu_control.h | ||
gccframe.h | ||
Implies | ||
jmpbuf-offsets.h | ||
jmpbuf-unwind.h | ||
ldsodefs.h | ||
libc-tls.c | ||
linkmap.h | ||
machine-gmon.h | ||
Makefile | ||
math-tests.h | ||
memusage.h | ||
preconfigure | ||
setjmp.S | ||
sfp-machine.h | ||
sotruss-lib.c | ||
stackinfo.h | ||
start.S | ||
tininess.h | ||
tls-macros.h | ||
tst-audit.h |