musl - an implementation of the standard library for Linux-based systems
blob: 40d9aa9f4968de1be2b6101a89b5c6e6de8d12e5 (
plain) (
blame)
1
2
3
4
5
6
7
|
#define _GNU_SOURCE
#include <math.h>
double significand(double x)
{
return scalbn(x, -ilogb(x));
}
|