1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/missing/finite.c

7 lines
67 B
C
Raw Normal View History

int
finite(n)
double n;
{
return !isnan(n) && !isinf(n);
}