1*f504f610SAugustin Cavalier #define _GNU_SOURCE 2*f504f610SAugustin Cavalier #include <math.h> 3*f504f610SAugustin Cavalier significand(double x)4*f504f610SAugustin Cavalierdouble significand(double x) 5*f504f610SAugustin Cavalier { 6*f504f610SAugustin Cavalier return scalbn(x, -ilogb(x)); 7*f504f610SAugustin Cavalier } 8