ruby/missing/finite.c

8 строки
102 B
C

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