mirror of
git://git.musl-libc.org/musl
synced 2024-12-16 19:55:38 +00:00
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...
This commit is contained in:
parent
2242bf616b
commit
ab76321c14
@ -403,7 +403,6 @@ long double pow10l(long double);
|
||||
|
||||
double significand(double);
|
||||
float significandf(float);
|
||||
long double significandl(long double);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -1,7 +0,0 @@
|
||||
#define _GNU_SOURCE
|
||||
#include <math.h>
|
||||
|
||||
long double significandl(long double x)
|
||||
{
|
||||
return scalbnl(x, -ilogbl(x));
|
||||
}
|
Loading…
Reference in New Issue
Block a user