+ 1
Powers for Math
How to add "power of" in codes?
11 Antworten
+ 11
^ is xor operator which is binary operator
If you don't know what xor is.You can know it later
Oh well power right?
float a = Math.pow(2,4);//2*2*2*2 = 16
float b = Math.pow(10,-2);//0.01
//You will receive problem from root
//Since if second arg is double number
//It will return "1"
//Which is....Damn a lot
float c = Math.pow(4,1/2);// 1
float d = Math.pow(9,1/3);// 1
+ 6
@Gordie I think I already typed "root"
+ 4
Ouchhhh Srry Maybe My brain is too blurry
Lemme sleep Zzz
+ 1
Would you use "^"