StrictMath.UnsignedPowExact 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| UnsignedPowExact(Int32, Int32) |
返回无符号 |
| UnsignedPowExact(Int64, Int32) |
返回无符号 |
UnsignedPowExact(Int32, Int32)
返回无符号 x 引发的幂 n,如果结果溢出无符号 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
参数
- x
- Int32
无符号基。
- n
- Int32
指数。
返回
x升至权力。n
- 特性
注解
此重载委托 UnsignedPowExact(Int32, Int32) 并使用相同的整数解释和溢出检查。
适用于
UnsignedPowExact(Int64, Int32)
返回无符号 x 引发的幂 n,如果结果溢出无符号 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
参数
- x
- Int64
无符号基。
- n
- Int32
指数。
返回
x升至权力。n
- 特性
注解
此重载委托 UnsignedPowExact(Int64, Int32) 并使用相同的整数解释和溢出检查。