1#define _GNU_SOURCE
2#include <math.h>
3
4float significandf(float x) {
5    return scalbnf(x, -ilogbf(x));
6}
7