ruby/missing/finite.c

9 строки
109 B
C

/* public domain rewrite of finite(3) */
int
finite(n)
double n;
{
return !isnan(n) && !isinf(n);
}