about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-08-13 16:00:31 -0400
committerRich Felker <dalias@aerifal.cx>2012-08-13 16:00:31 -0400
commitab76321c14e18e70c853f34202a567749292eafc (patch)
tree1bf3e9abc981a02f38921babbd65eee2ccc781ea
parent2242bf616b893e85886ed0a2348b96bf1cf7623e (diff)
downloadmusl-ab76321c14e18e70c853f34202a567749292eafc.tar.gz
musl-ab76321c14e18e70c853f34202a567749292eafc.tar.xz
musl-ab76321c14e18e70c853f34202a567749292eafc.zip
remove significandl
this function never existed historically; since the float/double
functions it's based on are nonstandard and deprecated, there's really
no justification for its existence except that glibc has it. it can be
added back if there's ever really a need...
-rw-r--r--include/math.h1
-rw-r--r--src/math/significandl.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/include/math.h b/include/math.h
index 656f7868..cf9d9fbf 100644
--- a/include/math.h
+++ b/include/math.h
@@ -403,7 +403,6 @@ long double pow10l(long double);
 
 double      significand(double);
 float       significandf(float);
-long double significandl(long double);
 #endif
 
 #ifdef __cplusplus
diff --git a/src/math/significandl.c b/src/math/significandl.c
deleted file mode 100644
index c1d68cd7..00000000
--- a/src/math/significandl.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-long double significandl(long double x)
-{
-	return scalbnl(x, -ilogbl(x));
-}