Is there a good way to catch all the NaN type errors like:
I can't do:
because the # calls up compiler errors.Code:if (var == -1.#IND)
Anyhow, i'm looking for a suggestion for a catchall function for numerical explosion errors that returns 0 if it's a normal double and 1 otherwise. Hope you can help!