Ruby
2.0.0p195(2013-05-14revision40734)
Main Page
Modules
Data Structures
Files
File List
Globals
missing
finite.c
Go to the documentation of this file.
1
/* public domain rewrite of finite(3) */
2
3
#include "
ruby/missing.h
"
4
5
int
6
finite
(
double
n)
7
{
8
return
!
isnan
(n) && !
isinf
(n);
9
}
10
Generated by
1.8.3.1