summaryrefslogtreecommitdiff
path: root/src/math/scalblnf.c
blob: d8e8166b10d6ea53c6630a252498e3a4d9cc124c (plain)
1
2
3
4
5
6
7
8
9
10
11
#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);
}