iphone - How to check if NSMutableArray object contains NaN -


this question has answer here:

i have nsmutablearray 1 float value , 4 nan values. want execute operations if array object nan. how can write if condition?

try isnan function

iterate array , put check

isnan([[array objectatindex:i] floatvalue])

(dont forget add math.h library)


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -