Join Slack
Powered by
This message was deleted.
# announcements
s
Slackbot
11/30/2017, 12:07 PM
This message was deleted.
🙃 1
s
snrostov
11/30/2017, 12:22 PM
https://stackoverflow.com/questions/8819738/why-does-double-nan-double-nan-return-false
snrostov
11/30/2017, 12:25 PM
Moreover in jdk Double.isNan is:
Copy code
public static boolean isNaN(double v) { return (v != v); }
e
elizarov
11/30/2017, 12:34 PM
It is not Java-specific. This behavior is specified by IEEE 754 standard.
l
laht
11/30/2017, 12:34 PM
ofc.. I should have known this..
laht
11/30/2017, 12:34 PM
thanks for the reply
2
Views
Open in Slack
Previous
Next