StrictMath.PowExact 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| PowExact(Int32, Int32) |
回傳 |
| PowExact(Int64, Int32) |
回傳 |
PowExact(Int32, Int32)
回傳 x 提升到 的冪次 n方,若結果超出 , int則拋出例外。
[Android.Runtime.Register("powExact", "(II)I", "", ApiSince=37)]
public static int PowExact(int x, int n);
[<Android.Runtime.Register("powExact", "(II)I", "", ApiSince=37)>]
static member PowExact : int * int -> int
參數
- x
- Int32
基地。
- n
- Int32
指數。
傳回
x 提升為 的冪次方 n。
- 屬性
適用於
PowExact(Int64, Int32)
回傳 x 提升到 的 n冪次方,若結果超出 , long則拋出例外。
[Android.Runtime.Register("powExact", "(JI)J", "", ApiSince=37)]
public static long PowExact(long x, int n);
[<Android.Runtime.Register("powExact", "(JI)J", "", ApiSince=37)>]
static member PowExact : int64 * int -> int64
參數
- x
- Int64
基地。
- n
- Int32
指數。
傳回
x 提升為 的冪次方 n。
- 屬性