What is double in Java Objective-C equivalent of Nan?

What is Java's double Objective-C equivalent of Nan? I have a function that returns double, but it can return double in two cases NaN. How will I implement it in Objective-C?

Solution

double nan = NAN;
double nan = NAN;

It's simple.

The above is what the programming house collects and arranges for you. What is double in Java Objective-C equivalent of Nan? I hope this article can help you solve what is double in Java Objective-C equivalent of Nan? Program development problems encountered.

If you think the content of the programming home website is good, you are welcome to recommend the programming home website to programmers and friends.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>