Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hard to search API

 
Andrew Parker
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am not familiar to locate the method name in the API, e.g. I have the following code and don't know how to use strictfp? How can I find it? I tried to use the index and unable to search it.
Any advice?
Andrew
strictfp class Main
{
public Main(){}

public void Main(){}

strictfp public void Main(double x){}
}
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
strictfp is not a method. It is a keyword. It is a modifier that signifies that all behaviors of the type that involve floating-point operations will produce the same results regardless of the platform used to execute the type. It says to use standard precision rather than IEEE 754 extended precision (80-bit) when calculating intermediate results.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic