fix loads of missing const in new libm, and some global vars (?!) in powl

This commit is contained in:
Rich Felker
2012-03-18 01:58:28 -04:00
parent 8e092217dd
commit 9e2a895aaa
20 changed files with 51 additions and 51 deletions

View File

@ -30,7 +30,7 @@ one = 1.00000000000000000000e+00;
// FIXME
//#ifdef __i386__
/* XXX Work around the fact that gcc truncates long double constants on i386 */
static volatile double
static const volatile double
pi1 = 3.14159265358979311600e+00, /* 0x1.921fb54442d18p+1 */
pi2 = 1.22514845490862001043e-16; /* 0x1.1a80000000000p-53 */
#define pi ((long double)pi1 + pi2)