blob: e6f3f195c856afcf0eafbb0071654800d7b8921c [file] [log] [blame]
#include <limits.h>
#include <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);
}