remove significandl
authorRich Felker <dalias@aerifal.cx>
Mon, 13 Aug 2012 20:00:31 +0000 (16:00 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 13 Aug 2012 20:00:31 +0000 (16:00 -0400)
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...

include/math.h
src/math/significandl.c [deleted file]

index 656f786..cf9d9fb 100644 (file)
@@ -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 (file)
index c1d68cd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-long double significandl(long double x)
-{
-       return scalbnl(x, -ilogbl(x));
-}