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 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

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.
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.

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

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

[Blog] [Blogroll] [My Reviews] My Linked In
I agree. Here's the link:
subject: What is strictfp?
jQuery in Action, 3rd edition