提交 ab76321c 编写于 作者: R Rich Felker

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...
上级 2242bf61
......@@ -403,7 +403,6 @@ long double pow10l(long double);
double significand(double);
float significandf(float);
long double significandl(long double);
#endif
#ifdef __cplusplus
......
#define _GNU_SOURCE
#include <math.h>
long double significandl(long double x)
{
return scalbnl(x, -ilogbl(x));
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册