“Work well” is a value judgement, cas.
Java trig works VERY well for the original goals of java-- that the same code produce exactly the same out put on any system. This is very important to those apps that want consistency and accuracy over speed (eg the scientific apps that Java math was originally targeted at.)
What you want, a fast and sloppy trig, wasn’t the design spec.
There are some ways being talked about now inside of Sun about how to reduce the JNI over-head. No promises yet but if that happens then it’ll be reasonable for you to call a C function to do your fast trig…