wood burning stoves 2.0*
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

http://www.geocities.com/sunjava4u/guide.html or
(Direct Link) http://www.geocities.com/sunjava4u/javaCertStudyNotes.doc

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!

subject: "NaN" = "not a number"
Similar Threads
Query on NaN Number
Confusion about Double.NaN
Gripe about sample mock exams