mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 07:10:05 +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
|
||
---|---|---|
.. | ||
e_sqrt.c | ||
s_copysign.c | ||
s_finite.c | ||
s_fma.c | ||
s_fmax.c | ||
s_fmin.c | ||
s_fpclassify.c | ||
s_isinf.c | ||
s_isnan.c | ||
s_issignaling.c |