I need to calculate Math.exp() from java very frequently, is it possible to get a native version to run faster than java\'s Math.exp()
Math.exp()
Use Java's.
Also, cache results of the exp and then you can look up the answer faster than calculating them again.