• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

regarding strictfp keyword..

 
Ranch Hand
Posts: 203
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,

I was going through strictfp keyword in java , can you guys please explain me the situation where do we require the use of this keyword, and what the purpose of this keyword in java, guys please explain this concept in detail..!!
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Didn't you read about it already? If you didn't, then go and do that first.

And if you did... don't ask us to write a special tutorial just for you personally. That's a bit too demanding. Instead, tell us what you didn't understand about what you read, and ask a question.
 
Greenhorn
Posts: 14
C++ Notepad Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just read the wikipedia article on and found it rather wordy and difficult to follow.

Basically this is what the whole article stated, in one short breath:

Some systems are more precise with floating point calculations than others, strictfp makes the floating point calculations less precise in order to ensure proper behavior on more precise systems.

My best guess would be that you would use that keyword if you're working with legacy code.

* By "system" - I mean VM
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic