+ 2
What is Exponential?
example like 2**9
10 Antworten
+ 16
Yes, ">>", "<<", (<<<), "~" also exist...
+ 12
(Well...
2^9 is bitwise...
0010b^1001b = 1011b =
11)
+ 12
(No, the XOR operator follows the "one or other but not both" bit rule, looks like binary addition but not always...
5^1 =
101^001 = 100 =
4)
+ 4
Exponential. It's dealing with powers.
2**9 means 2 times itself 9 times.
So 2**9 = 2*2*2*2*2*2*2*2*2.
Similarly, 3**2 = 3*3, 4**5 = 4*4*4*4*4 etc.
+ 2
Ohh, it's an XOR operator. My bad. Thanks for explaining. (What are the operators for AND and OR? & and |?
+ 2
the operation ** exist in other form,there is also pow in python, and a pow imported from module math , this two pow function are similar , but pow in math module give all in float number,and pow in python give intger number if it can be
+ 2
Alex yes...I already said that...
Sanket Patel you are welcome.
+ 1
Valen.H. ~ do explain it a bit more? You used the addition operator for the ^ sign?
+ 1
thanks.. guys...
0
Exponential. It's dealing with powers.
2**9 means 2 times itself 9 times.
So 2**9 = 2*2*2*2*2*2*2*2*2.
Similarly, 3**2 = 3*3, etc