cosmopolitan/libc/math/scalbln.c

11 lines
191 B
C
Raw Normal View History

2020-06-15 14:18:57 +00:00
#include "libc/limits.h"
#include "libc/math/math.h"
double scalbln(double x, long n) {
if (n > INT_MAX)
n = INT_MAX;
else if (n < INT_MIN)
n = INT_MIN;
return scalbn(x, n);
}