Ruby 1.9.2p180(2011-02-18revision30909)

missing/finite.c

Go to the documentation of this file.
00001 /* public domain rewrite of finite(3) */
00002 
00003 int
00004 finite(double n)
00005 {
00006     return !isnan(n) && !isinf(n);
00007 }
00008