Wednesday, December 08, 2010

IEEE floating point exceptions: NaNs, 1.#INF, 1.#IND, etc

IEEE floating point exceptions: NaNs, 1.#INF, 1.#IND, etc: "bool IsFiniteNumber(double x)
    {
        return (x <= DBL_MAX && x >= -DBL_MAX);
    }    
   "