File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes strictfp doubt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "strictfp doubt?" Watch "strictfp doubt?" New topic
Author

strictfp doubt?

pras
Ranch Hand

Joined: Apr 04, 2007
Posts: 188
it is said that without the strictfp modifier floating points used in methods behave in platform dependent way..

how come it is true??
because java is platform independent right??
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
There is more in this article from 2001. The idea of strictfp is to "force" the JVM into giving infinity or 0 as an answer when the values go beyond the normal range of the floating point number.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: strictfp doubt?