summaryrefslogtreecommitdiff
path: root/src/math/__polevll.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-09-08 15:51:42 +0200
committerSzabolcs Nagy <nsz@port70.net>2014-09-08 15:51:42 +0200
commit0c32c2635eedfcd6af3606735ac38197f8705734 (patch)
treeeb11e1e4c69a980133a5d61c4e19c0b5684ad548 /src/math/__polevll.c
parent976bb28fa0f5b6d82055502c27444ac5c9bf34ed (diff)
downloadmusl-0c32c2635eedfcd6af3606735ac38197f8705734.tar.gz
prune math code on archs with binary64 long double
__polevll, __p1evll and exp10l were provided on archs when long double is the same as double. The first two were completely unused and exp10l can be a wrapper around exp10.
Diffstat (limited to 'src/math/__polevll.c')
-rw-r--r--src/math/__polevll.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math/__polevll.c b/src/math/__polevll.c
index a2728651..ce1a8404 100644
--- a/src/math/__polevll.c
+++ b/src/math/__polevll.c
@@ -56,6 +56,8 @@
#include "libm.h"
+#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
+#else
/*
* Polynomial evaluator:
* P[0] x^n + P[1] x^(n-1) + ... + P[n]
@@ -88,3 +90,4 @@ long double __p1evll(long double x, const long double *P, int n)
return y;
}
+#endif