File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark ""NaN" = "not a number"" Watch ""NaN" = "not a number"" New topic

"NaN" = "not a number"

David Kennedy
Ranch Hand

Joined: Jan 22, 2006
Posts: 33

I have seen some questions on Whizlabs and elsewhere mention questions
regarding comparisons with Double.NaN etc

I havent come across a topic on NaN in the K&B book and was wondering is it
on the exam?


"There are only 10 types of people in the world: Those who understand binary, and those who don't"
Marcus Green
arch rival

Joined: Sep 14, 1999
Posts: 2813
Yes NaN does mean Not a Number and I have not heard of it coming up on the exam.

SCWCD: Online Course, 50,000+ words and 200+ questions
Vaibhav Chauhan
Ranch Hand

Joined: Aug 16, 2006
Posts: 115
better if you ask any question. Sorry but I did not get you whether you are telling or want to ask anything.
please be clear.
David Kennedy
Ranch Hand

Joined: Jan 22, 2006
Posts: 33

If you look at the study guide for 1.4 that Anand Bheemarajaiah has created
on the first link of this page or
(Direct Link)

and on page 24 and 25 his notes discuss NaN.This wouldnt have bothered me as I would have thought it was for the 1.4 exam and im studying for the 1.5 but it came up again on the 1.5 Whizlabs simulator!

I agree. Here's the link:
subject: "NaN" = "not a number"
It's not a secret anymore!