This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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

Win a copy of The Software Craftsman this week in the Agile forum!
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: 9056
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
Consider Paul's rocket mass heater.
subject: Hard to search API