Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Beginning Java
strictfp doubt?
pras
Ranch Hand
Posts: 188
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Marshal
Posts: 80945
522
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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 don't always make ads but when I do they're tiny
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
abstract strictfp class legal?
Problem in strictfp
strictfp
Doubt in K&B SCJP 5: topic Inner Classes
modifers
More...