12 lines
169 B
C
12 lines
169 B
C
#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);
|
|
}
|