How does Double.isNaN() work?

Posted by Willi Schönborn on Stack Overflow See other posts from Stack Overflow or by Willi Schönborn
Published on 2010-04-20T21:59:49Z Indexed on 2010/04/20 22:03 UTC
Read the original article Hit count: 245

Filed under:
|
|
|

The sun jdk implementation looks like this:

return v != v;

Can anyone explain how that works?

© Stack Overflow or respective owner

Related posts about java

Related posts about floating-point