[PATCH] powerpc: Fix lgammal_r overflow warnings
Joseph Myers
joseph@codesourcery.com
Wed Dec 10 21:17:00 GMT 2014
On Wed, 10 Dec 2014, Adhemerval Zanella wrote:
> +static const long double huge = HUGE_VALL;
No, HUGE_VALL is not correct; that's infinity, which would lose the
overflow exceptions and rounding-mode-dependent results. (And the
ChangeLog entry should name the variable whose initializer is being
changed.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list