bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel_sinl bug?


From: Robinson Mittmann
Subject: kernel_sinl bug?
Date: Wed, 22 Nov 2006 13:59:57 -0200
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Looking at the "kernel_sinl" function in "sincosl.c" file I found that the limit value for choosing the computation method is wrong with respect of the remaining code:

kernel_sinl (long double x, long double y, int iy)
{
 ...
 if (x < 0.148375L)        /* |x| < 0.1484375 */

The correct line should be:

 if (x < 0.1484375L)        /* |x| < 0.1484375 */

Probably a better approach would be defining this limit as a macro.

Regards,

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]