wood burning stoves
The moose likes Beginning Java and the fly likes Hard to search API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Hard to search API" Watch "Hard to search API" New topic

Hard to search API

Andrew Parker
Ranch Hand

Joined: Nov 12, 2001
Posts: 178
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?
strictfp class Main
public Main(){}

public void Main(){}

strictfp public void Main(double x){}
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9058
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.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
It is sorta covered in the JavaRanch Style Guide.
subject: Hard to search API
It's not a secret anymore!