+ 2

What is Exponential?

example like 2**9

22nd Jun 2018, 12:28 PM
Sanket Patel
10 Answers
+ 16
Yes, ">>", "<<", (<<<), "~" also exist...
22nd Jun 2018, 12:44 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 12
(Well... 2^9 is bitwise... 0010b^1001b = 1011b = 11)
22nd Jun 2018, 12:37 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 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)
22nd Jun 2018, 12:42 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 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.
22nd Jun 2018, 12:32 PM
Andre Daniel
Andre Daniel - avatar
+ 2
Ohh, it's an XOR operator. My bad. Thanks for explaining. (What are the operators for AND and OR? & and |?
22nd Jun 2018, 12:43 PM
Andre Daniel
Andre Daniel - avatar
+ 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
22nd Jun 2018, 4:20 PM
Numpy
Numpy - avatar
+ 2
Alex yes...I already said that... Sanket Patel you are welcome.
23rd Jun 2018, 4:02 PM
Andre Daniel
Andre Daniel - avatar
+ 1
Valen.H. ~ do explain it a bit more? You used the addition operator for the ^ sign?
22nd Jun 2018, 12:39 PM
Andre Daniel
Andre Daniel - avatar
+ 1
thanks.. guys...
23rd Jun 2018, 3:44 PM
Sanket Patel
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
23rd Jun 2018, 9:02 AM
Alex
Alex - avatar