20 lines
204 B
C
20 lines
204 B
C
|
#include <math.h>
|
||
|
|
||
|
int
|
||
|
finite (double x)
|
||
|
{
|
||
|
return __builtin_isfinite (x);
|
||
|
}
|
||
|
|
||
|
int
|
||
|
finitef (float x)
|
||
|
{
|
||
|
return __builtin_isfinite (x);
|
||
|
}
|
||
|
|
||
|
int
|
||
|
finitel (long double x)
|
||
|
{
|
||
|
return __builtin_isfinite (x);
|
||
|
}
|