Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what key word "strictfp" does

 
osr
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have seen a new key word "strictfp". Can ypu please let me know what for it is used.
Thanks,
osr.
 
chetan nain
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
strictfp is not covered on the exam.
however, for information,
java 2 development allowed the relaxation of the foating point model(with respect to the earlier versions of java). strictfp may be used with classes or methods, and its usage will ensure tht the floating pt calcs, are carried out with the same precision as earlier java versions.
note that the relaxation was carried out to facilitate faster computations
hth,
chetan

 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'osr'
PROPER NAMES ARE NOW REQUIRED!!
Read this post for more details.
Ajith
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic