Code review request for 6908131 Pure Java implementations of StrictMath.floor(double) &StrictMath.ceil(double)

Joseph D. Darcy Joe.Darcy at Sun.COM
Fri Jan 22 19:26:42 UTC 2010

Jeff Hain wrote:
> Hi all.
> Dmitry, here is the link:
> The non-wrong treatments could be mainly:
> - round(double), floor(float), ceil(float), round(float),
> - maybe hypot(double,double) (Math.hypot delegates to StrictMath.hypot,
>   which is very slow on my computer due to its use of StrictMath.sqrt

Math and StrictMath sqrt are intrinsified to use the corresponding 
hardware instruction on any platform you're likely to have run your code on.


More information about the core-libs-dev mailing list