aboutsummaryrefslogtreecommitdiff
path: root/src/math/scalblnf.c
blob: 2b68f7c4b9cfa28088051852ed71040e4a0b2677 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <limits.h>
#include <math.h>

float scalblnf(float x, long n)
{
	if (n > INT_MAX)
		n = INT_MAX;
	else if (n < INT_MIN)
		n = INT_MIN;
	return scalbnf(x, n);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif