scalbln.c 169 字节
Newer Older
C
c00346986 已提交
1 2 3 4 5 6 7 8 9 10 11
#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);
}