Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   java help exponent (http://www.chiefdelphi.com/forums/showthread.php?t=96832)

techkid86 12-08-2011 16:20

java help exponent
 
hey, i am relatively new to java, and i am looking for an exponent function or operator. my research has revealed that there is no operator, but the Math.pow();
function would work, but it seems to be missing from Math. then i realized that FRC has custom math class lacking it. where can it be found?

ty in advance.

Ether 12-08-2011 17:18

Re: java help exponent
 
Quote:

Originally Posted by techkid86 (Post 1072895)
hey, i am relatively new to java, and i am looking for an exponent function or operator. my research has revealed that there is no operator

ea = exp(a)

ba = exp(a*ln(b))




Jared Russell 12-08-2011 17:23

Re: java help exponent
 
The Squawk JVM provides many of the J2SE math functions in the com.sun.squawk.util.MathUtils class. You will find exp() and pow() functions there.

techkid86 12-08-2011 17:57

Re: java help exponent
 
thank you very much. that was the last bit of information i needed for a teleop. lol. i have been ranting about that all day. ty very much.


All times are GMT -5. The time now is 22:18.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi