StrictMath.UnsignedPowExact 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.
Overloads
| Name | Description |
|---|---|
| UnsignedPowExact(Int32, Int32) |
Returns unsigned |
| UnsignedPowExact(Int64, Int32) |
Returns unsigned |
UnsignedPowExact(Int32, Int32)
Returns unsigned x raised to the power of n,
throwing an exception if the result overflows an unsigned int.
[Android.Runtime.Register("unsignedPowExact", "(II)I", "", ApiSince=37)]
public static int UnsignedPowExact(int x, int n);
[<Android.Runtime.Register("unsignedPowExact", "(II)I", "", ApiSince=37)>]
static member UnsignedPowExact : int * int -> int
Parameters
- x
- Int32
the unsigned base.
- n
- Int32
the exponent.
Returns
x raised to the power of n.
- Attributes
Applies to
UnsignedPowExact(Int64, Int32)
Returns unsigned x raised to the power of n,
throwing an exception if the result overflows an unsigned long.
[Android.Runtime.Register("unsignedPowExact", "(JI)J", "", ApiSince=37)]
public static long UnsignedPowExact(long x, int n);
[<Android.Runtime.Register("unsignedPowExact", "(JI)J", "", ApiSince=37)>]
static member UnsignedPowExact : int64 * int -> int64
Parameters
- x
- Int64
the unsigned base.
- n
- Int32
the exponent.
Returns
x raised to the power of n.
- Attributes