[PATCH 10/10] Don't use copysign in initializer
Andreas Schwab
schwab@linux-m68k.org
Fri Dec 13 13:34:54 GMT 2024
On Dez 13 2024, H.J. Lu wrote:
> GCC 4.9 issues an error for copysign in initializer:
>
> In file included from tst-printf-format-p-double.c:20:0:
> tst-printf-format-skeleton-double.c:29:3: error: initializer element is not a constant expression [-Werror]
> { -HUGE_VAL, -DBL_MAX, -DBL_MIN, copysign (0, -1), -NAN, NAN, 0, DBL_MIN,
Is there a compiler where -0.0 doesn't do the right thing?
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list