Jafama (Java Fast Math) consists of fast - but not sloppy - counterparts of java.lang.Math treatments, plus additional ones. They are usually about 2-4 (up to 15) times faster, with about 1e-15 accuracy, and handle special cases (NaN, etc.).
Requires Java 5 or later.
This code, possibly in an older or newer version, is also available as part of a larger library, at http://code.google.com/p/jodk.
Got a factor of 2 for some cases on newer Intel chips. Thanks!
Great library. I was able to achieve huge performance improvements by using the provided sqrt and trigonometric functions, instead of those provided in the JDK's Math.
Jafama is great! Thanks.
Great Library, really helped me speed up my Software!