#define _GNU_SOURCE #include float significandf(float x) { return scalbnf(x, -ilogbf(x)); }