if returning errno value directly from a syscall, we need to negate it.
[musl] / src / math / s_ldexp.c
1 #include <math.h>
2
3 double ldexp(double x, int n)
4 {
5         return scalbn(x, n);
6 }