fast math

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


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".


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the core-libs-dev mailing list