Boštjan Jerko <bostjan.jerko at mf.uni-lj.si> writes: > I need to know if the result of math formula is nan (Not a number). > How can I do that? I suppose: NAN = any_calculation_that_returns_nan() if some_other_calculation() is NAN: ... John