math: use the rounding idiom consistently
[oweals/musl.git] / src / math / significandf.c
1 #define _GNU_SOURCE
2 #include <math.h>
3
4 float significandf(float x)
5 {
6         return scalbnf(x, -ilogbf(x));
7 }