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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c++ - CryptStringToBinary API behavior -