Code review request for 6908131 Pure Java implementations of StrictMath.floor(double) &StrictMath.ceil(double) (original) (raw)
Joseph D. Darcy Joe.Darcy at Sun.COM
Fri Jan 22 19:26:42 UTC 2010
- Previous message: Code review request for 6908131 Pure Java implementations of StrictMath.floor(double) &StrictMath.ceil(double)
- Next message: Code review request for 6908131 Pure Java implementations of StrictMath.floor(double) &StrictMath.ceil(double)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff Hain wrote:
Hi all. Dmitry, here is the link: http://sourceforge.net/projects/jafama/ 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.
-Joe
- Previous message: Code review request for 6908131 Pure Java implementations of StrictMath.floor(double) &StrictMath.ceil(double)
- Next message: Code review request for 6908131 Pure Java implementations of StrictMath.floor(double) &StrictMath.ceil(double)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]