Ruby 1.9.2p136(2010-12-25revision30365)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

# missing/isnan.c

Go to the documentation of this file.

    00001 /* public domain rewrite of isnan(3) */
    00002
    00003 static int double_ne(double n1, double n2);
    00004
    00005 int
    00006 isnan(double n)
    00007 {
    00008     return double_ne(n, n);
    00009 }
    00010
    00011 static int
    00012 double_ne(double n1, double n2)
    00013 {
    00014     return n1 != n2;
    00015 }
    00016