A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Java in General
regarding strictfp keyword..
Joined: Apr 22, 2011
Dec 12, 2011 20:59:20
I was going through strictfp keyword in
, 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..!!
Joined: Oct 14, 2005
Dec 12, 2011 21:45:50
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.
Joined: May 17, 2010
Dec 12, 2011 21:51:12
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
I agree. Here's the link:
subject: regarding strictfp keyword..
Is "strictfp" a keyword?
keywords:generic,strictfp, widefp,volatile etc.....
Keywords doubt -Please help me
keyword=> strictfp y/n
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015