Browse Source

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...
Rich Felker 12 years ago
parent
commit
ab76321c14
2 changed files with 0 additions and 8 deletions
  1. 0 1
      include/math.h
  2. 0 7
      src/math/significandl.c

+ 0 - 1
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

+ 0 - 7
src/math/significandl.c

@@ -1,7 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-long double significandl(long double x)
-{
-	return scalbnl(x, -ilogbl(x));
-}