Ruby
1.9.3p429(2013-05-15revision40747)
Main Page
Modules
Data Structures
Files
File List
Globals
missing
isnan.c
Go to the documentation of this file.
1
/* public domain rewrite of isnan(3) */
2
3
#include "
ruby/missing.h
"
4
5
static
int
double_ne
(
double
n1,
double
n2);
6
7
int
8
isnan
(
double
n)
9
{
10
return
double_ne
(n, n);
11
}
12
13
static
int
14
double_ne
(
double
n1,
double
n2)
15
{
16
return
n1 != n2;
17
}
18
Generated on Thu May 23 2013 20:33:10 for Ruby by
1.8.3