Boštjan Jerko <bostjan.jerko at mf.uni-lj.si> writes: > Hello ! > > I need to know if the result of math formula is nan (Not a number). > How can I do that? The only non-hacky way I know of is installing scipy and using scipy.isnan. 'as