From ab76321c14e18e70c853f34202a567749292eafc Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 13 Aug 2012 16:00:31 -0400 Subject: [PATCH] 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... --- include/math.h | 1 - src/math/significandl.c | 7 ------- 2 files changed, 8 deletions(-) delete mode 100644 src/math/significandl.c 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 - -long double significandl(long double x) -{ - return scalbnl(x, -ilogbl(x)); -} -- 2.20.1