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.
