blob: 4fb3d06074ae6556d7f3669d24705c4a5eaada51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <limits.h>
#include <math.h>
#include "libm.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);
}
|