aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes What is strictfp? 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 "What is strictfp?" Watch "What is strictfp?" New topic
Author

What is strictfp?

Isabel Wanderley
Ranch Hand

Joined: Aug 24, 2002
Posts: 42
I don't know what is the use for strictfp keyword, can anyone explain me this?
pree sree
Ranch Hand

Joined: Jul 27, 2002
Posts: 34
go to this link.http://java.sun.com/docs/books/jls/second_edition/html/jIX.fm.html
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Putting it simply strictfp tells the compiler/jvm not to use any fancy gee-whiz floating point tricks depending on the system it is running on. The object of it is to get the same floating point arithmetical results on all systems the program runs on.
-Barry


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Javaranch SCJP FAQ : What does strictfp keyword mean?


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
 
subject: What is strictfp?