This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: Fix lgammal_r overflow warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]