I am looking for a Java library to calculate gamma, beta, erf, bessel special functions (and some related) for including into our own formula parser. Numeric accuracy is the main priority - it's a scientific program. And it must be open-source and free for commercial usage (like Apache and BSD licenses).
I supposed that I would quickly find come 'classical', 'reference' implementation like JAMA library is for matrix operations but I cannot find that so far. We only need special function evaluation and don't need any additional library features.
The first I found is Apache Common Math but I see a terrible accuracy for beta function: http://commons.apache.org/proper/commons-math/userguide/special.html.
Then I found Colt. It seems to be good but I'm not sure that it was properly tested by developers and users (some rarely used code may be copied from somewhere with mistakes, etc.)
Any suggestions will be appreciated.