Top "Pow" questions

pow is a function that exists in various programming languages that usually takes two numbers as input and returns the first number to the power of the second number.

Does Java have an exponential operator?

Is there an exponential operator in Java? For example, if a user is prompted to enter two numbers and they …

java pow exponent
How to get the Power of some Integer in Swift language?

I'm learning swift recently, but I have a basic problem that can't find an answer I want to get something …

integer double swift pow
how to get exponents without using the math.pow for java

This is my program // ************************************************************ // PowersOf2.java // // Print out as many powers of 2 as the user requests // // ************************************************************ import java.util.Scanner; …

java math pow exponent
Why isn't `int pow(int base, int exponent)` in the standard C++ libraries?

I feel like I must just be unable to find it. Is there any reason that the C++ pow function …

c++ math integer standard-library pow
pow function in C

I write a C code that have power function that is from math.h library. when I compiled my program, …

c gcc pow math.h
Math.Pow() vs Math.Exp() C# .Net

Can anyone provide an explanation of the difference between using Math.Pow() and Math.Exp() in C# and .net ? Is …

c# .net algebra pow calculus
Exponentials in python: x**y vs math.pow(x, y)

Which one is more efficient using math.pow or the ** operator? When should I use one over the other? So …

python math built-in pow
Math.Pow vs multiply operator (performance)

Anyone knows if multiply operator is faster than using the Math.Pow method? Like: n * n * n vs Math.Pow ( …

c# .net performance pow
How is Math.Pow() implemented in .NET Framework?

I was looking for an efficient approach for calculating ab (say a = 2 and b = 50). To start things up, I decided …

c# .net pow
Power function using recursion

I have to write a power method in Java. It receives two ints and it doesn't matter if they are …

java recursion pow