Math trig intrinsics and compiler options

Joseph D. Darcy Joe.Darcy at Sun.COM
Mon Aug 10 10:52:37 PDT 2009


gustav trede wrote:
> Hello ,
>
> I have some questions regarding java impl of the fdlibm code.
>
> What methods if any needs to be declared as strictfp, i assume where 
> its needed its for both math and strictmath ?

No, not all methods in Math or even StrictMath need to be declared 
strictfp.  While it is safe to put strictfp everywhere, just putting it 
where required can requite a subtle analysis.

-Joe




More information about the hotspot-dev mailing list