math: use the rounding idiom consistently
[oweals/musl.git] / src / math / ldexp.c
1 #include <math.h>
2
3 double ldexp(double x, int n)
4 {
5         return scalbn(x, n);
6 }