Extensions.Pow(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes x^y for an integer base x and exponent y
public static int Pow (this int x, int exponent);
static member Pow : int * int -> int
<Extension()>
Public Function Pow (x As Integer, exponent As Integer) As Integer
Parameters
- x
- Int32
Base.
- exponent
- Int32
Exponent.
Returns
An integer x^y