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/expl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/math/expl.c') diff --git a/src/math/expl.c b/src/math/expl.c index 898cf1a5..9507fd2e 100644 --- a/src/math/expl.c +++ b/src/math/expl.c @@ -74,12 +74,12 @@ long double expl(long double x) } #elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 -static long double P[3] = { +static const long double P[3] = { 1.2617719307481059087798E-4L, 3.0299440770744196129956E-2L, 9.9999999999999999991025E-1L, }; -static long double Q[4] = { +static const long double Q[4] = { 3.0019850513866445504159E-6L, 2.5244834034968410419224E-3L, 2.2726554820815502876593E-1L, -- cgit 1.4.1