Anything related to the exponentiation operation, i.e. the process of computing the power of a number, and the corresponding syntax, semantics, constraints and implementation in programming languages.
What function does the ^ (caret) operator serve in Java? When I try this: int a = 5^n; ...it gives me: for …
java operators exponentiationWhat is the most efficient way given to raise an integer to the power of another integer in C? // 2^3 pow(2,3) == 8 // 5^5 …
c algorithm math exponentiationIn my field it's very common to square some numbers, operate them together, and take the square root of the …
python math exponentiationI just started using Python today for my class and one of my problems is cubing a number in Python. …
python syntax syntax-error exponentiationI don't see an exponentiation operator defined in the base arithmetic operators in the Swift language reference. Is there really …
swift exponentiationHow can I do exponentiation in clojure? For now I'm only needing integer exponentiation, but the question goes for fractions …
clojure exponentiationCan someone tell me why the Haskell Prelude defines two separate functions for exponentiation (i.e. ^ and **)? I thought the …
haskell exponent exponentiationI was simply writing a program to calculate the power of an integer. But the output was not as expected. …
c pow exponentiationIs there a function for integer exponentiation in OCaml? ** is only for floats. Although it seems to be mostly accurate, …
integer ocaml floating-accuracy exponentiationI need help working with very big numbers. According to Windows calc, the exponent 174^55 = 1.6990597648061509725749329578093e+123 How would I store this …
c exponentiation