Does anyone know how to check if a double variable has 1.#INF, -1.#INF, 1.#IND?