This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about strictfp

 
Kavitha R ram
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Anybody can explain about strictfp. i didnt get the exact definition.

Thanks in Advance
 
Praveen Babu
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kavitha,

It is used on classes or methods for floting point arithmetic.If this is specified then the resulting numbers are same on all platforms, since by typing the keyword strictfp we are saying the compiler to adhere to a specification namely the IEEE-754 standard.

However there is a catch. If your platform supports a higher precession then you have to sacrifice it.

Regards
Praveen
[ August 22, 2006: Message edited by: praveen babu ]
 
wise owen
Ranch Hand
Posts: 2023
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic