root/missing/isnan.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. isnan
  2. double_ne

/* public domain rewrite of isnan(3) */

static int double_ne(double n1, double n2);

int
isnan(double n)
{
    return double_ne(n, n);
}

static int
double_ne(double n1, double n2)
{
    return n1 != n2;
}

/* [previous][next][first][last][top][bottom][index][help] */