]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/math/scalblnf.c
WASI libc prototype implementation.
[wasi-libc.git] / libc-top-half / musl / src / math / scalblnf.c
1 #include <limits.h>
2 #include <math.h>
3
4 float scalblnf(float x, long n)
5 {
6 if (n > INT_MAX)
7 n = INT_MAX;
8 else if (n < INT_MIN)
9 n = INT_MIN;
10 return scalbnf(x, n);
11 }