How to handle floating point exceptions such as 1.#IND, 1.#INF, nan, and inf| John D. Cook
Knowing the details of how floating point numbers are implemented can help you avoid problems with them.| John D. Cook | Applied Mathematics Consulting