Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

widefp  RSS feed

 
jyothi godavarthy
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
someone please explain me about this key word.
thanks in advance
jyoti
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jyothi:
someone please explain me about this key word.
thanks in advance
jyoti

From JAVA WORLDS article 'Prepare yourself for what's new and different in the forthcoming JDK 1.2 release'
'Two new keywords were added to JDK 1.2 with the beta 4 release: strictfp and widefp. These keywords let you specify the IEEE 754-standard strictness that a method or class uses when calculating intermediate results. Currently, these options are not used by the JVM, but you can place them in your code. The strictfp keyword acts like the current float behavior, while widefp is an extended-precision format, which may be faster. Here's how to flag a method to use the wide format:
widefp void doCalc (float x, float y) {...}'
 
jyothi godavarthy
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Carl for your information
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!