aspose file tools*
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
Author

"NaN" = "not a number"

David Kennedy
Ranch Hand

Joined: Jan 22, 2006
Posts: 33
Hi,

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?

Thanks
Dave


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

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
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
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
Hi,

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!

David
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: "NaN" = "not a number"