Objective-C - float checking for nan

后端 未结 4 1035
春和景丽
春和景丽 2020-12-24 00:15

I have a variable (float slope) that sometimes will have a value of nan when printed out since a division by 0 sometimes happens.

I am trying to do an i

4条回答
提交回复
热议问题