I am basically making a Java program that will have to run a lot of calculations pretty quickly(each frame, aiming for at least 30 f/s). These will mostly be trigonometric and p
You will want to use the java.lang.Math functions as most of them run native in the JVM. you can see the source code here.
java.lang.Math
native