Ruby 1.9.3p327(2012-11-10revision37606)
missing/finite.c
Go to the documentation of this file.
00001 /* public domain rewrite of finite(3) */
00002 
00003 #include "ruby/missing.h"
00004 
00005 int
00006 finite(double n)
00007 {
00008     return !isnan(n) && !isinf(n);
00009 }
00010