summaryrefslogtreecommitdiff
path: root/libm/e_log10.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-02-14 03:55:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-02-19 19:25:47 +0100
commitabfbe76cb5adff2e7c9ddd4dc10c3dcc641d8949 (patch)
treeffd280132ba5cd871c17b6d5ceae239e60de9932 /libm/e_log10.c
parent337531c6d5d2b3f04711933ac12432c1fa3f3254 (diff)
libm: remove dead code
_IEEE_LIBM is always defined, so the other code is never used. I don't know when it was actively used.
Diffstat (limited to 'libm/e_log10.c')
-rw-r--r--libm/e_log10.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libm/e_log10.c b/libm/e_log10.c
index 877572536..3c62081e6 100644
--- a/libm/e_log10.c
+++ b/libm/e_log10.c
@@ -79,23 +79,5 @@ double __ieee754_log10(double x)
return z+y*log10_2hi;
}
-/*
- * wrapper log10(X)
- */
-#ifndef _IEEE_LIBM
-double log10(double x)
-{
- double z = __ieee754_log10(x);
- if (_LIB_VERSION == _IEEE_ || isnan(x))
- return z;
- if (x <= 0.0) {
- if(x == 0.0)
- return __kernel_standard(x, x, 18); /* log10(0) */
- return __kernel_standard(x, x, 19); /* log10(x<0) */
- }
- return z;
-}
-#else
strong_alias(__ieee754_log10, log10)
-#endif
libm_hidden_def(log10)