From 9e2a895aaaa4a3985e94ae4f3e24c1af65f9bb34 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 18 Mar 2012 01:58:28 -0400 Subject: fix loads of missing const in new libm, and some global vars (?!) in powl --- src/math/expf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/expf.c') diff --git a/src/math/expf.c b/src/math/expf.c index 8925a6f1..f706ac5d 100644 --- a/src/math/expf.c +++ b/src/math/expf.c @@ -33,7 +33,7 @@ invln2 = 1.4426950216e+00, /* 0x3fb8aa3b */ P1 = 1.6666625440e-1, /* 0xaaaa8f.0p-26 */ P2 = -2.7667332906e-3; /* -0xb55215.0p-32 */ -static volatile float twom100 = 7.8886090522e-31; /* 2**-100=0x0d800000 */ +static const volatile float twom100 = 7.8886090522e-31; /* 2**-100=0x0d800000 */ float expf(float x) { -- cgit 1.4.1