2242bf61 ^
1 2 3 4 5 6 7
#define _GNU_SOURCE #include <math.h> double significand(double x) { return scalbn(x, -ilogb(x)); }