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
matz e975828471 better AIX support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1999-04-27 02:56:30 +00:00

6 lines
67 B
C

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