fast math

cutcutcut cutcutcut unbelievable_evidence at yahoo.com
Sun Jul 26 19:41:42 UTC 2009


Hello.

I did write some faster (but yet not sloppy) versions of java.lang.Math class treatments.

In short, they are about 2-3 times faster (from 1 to 15 times), with usually about 1e-15 absolute or relative accuracy, handle special cases (NaN, etc.), and abs(cos(foo)) will never be > 1... I think!

If you think they could fit in some OpenJDK release, you can get them on sourceforge (they are under LGPL license) ; just look for "java fast math".

Bye.





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20090726/893082dd/attachment.html>


More information about the core-libs-dev mailing list