fast math (original) (raw)
cutcutcut cutcutcut unbelievable_evidence at yahoo.com
Sun Jul 26 19:41:42 UTC 2009
- Previous message: hg: jdk7/tl/langtools: 6863746: javap should not scan ct.sym by default
- Next message: hg: jdk7/tl/langtools: 6381698: Warn of decommissioning of apt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: hg: jdk7/tl/langtools: 6863746: javap should not scan ct.sym by default
- Next message: hg: jdk7/tl/langtools: 6381698: Warn of decommissioning of apt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]