fix struct layout mismatch in sound ioctl time32 fallback conversion
[musl.git] / src / math / scalblnl.c
blob854c51c4cb957087179cfa478f4be60f47a45802
1 #include <limits.h>
2 #include <math.h>
3 #include <float.h>
5 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
6 long double scalblnl(long double x, long n)
8 return scalbln(x, n);
10 #else
11 long double scalblnl(long double x, long n)
13 if (n > INT_MAX)
14 n = INT_MAX;
15 else if (n < INT_MIN)
16 n = INT_MIN;
17 return scalbnl(x, n);
19 #endif