summaryrefslogtreecommitdiff
path: root/libgcompat/math.c
blob: 298211644fb2a0fbdafc6f0ed1cfa96641e85f14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <math.h> /* isinf, isnan */

#include "alias.h" /* weak_alias */

int __isinff(float number)
{
	return isinf(number);
}
weak_alias(__isinff, isinff);

int __isinf(double number)
{
	return isinf(number);
}
weak_alias(__isinf, isinf);

int __isnanf(float number)
{
	return isnan(number);
}
weak_alias(__isnanf, isnanf);

int __isnan(double number)
{
	return isnan(number);
}
weak_alias(__isnan, isnan);