This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Problem in 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 "Problem in strictfp" Watch "Problem in strictfp" New topic
Author

Problem in strictfp

Amardeep Salkar
Ranch Hand

Joined: May 22, 2008
Posts: 46
dear all,


I'm not so clear about strictfp key word so please help me to understand it.

Thanks with regards,
Amardeep Salkar
sumi rankan
Ranch Hand

Joined: Apr 07, 2008
Posts: 46
If a class or method is marked strictfp ,it follows strict floating point specifications (IEEE754 standards) meaning the floating points used in them behave in a platform independent way.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in strictfp