I jut ran into something where I need to calculate e^x.
Since I'm not able to use the Java math library for Math.exp(x) or Math.pow(2.718281828459045, x) I wonder how to do this in JRobots. I could not find any replacement function.
Any hints?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I jut ran into something where I need to calculate e^x.
Since I'm not able to use the Java math library for Math.exp(x) or Math.pow(2.718281828459045, x) I wonder how to do this in JRobots. I could not find any replacement function.
Any hints?
Sorry, I did not looked so far at the bottom of the docs...
This should do the work I hope. ;)
> double exp(double value) - returns the exp