OperatorIntrinsics.PowGeneric<'T> 函式 (F#)
這是程式庫內建。使用泛型 pown 運算子可以產生對這個函式的呼叫。
**命名空間/模組路徑:**Microsoft.FSharp.Core.Operators.OperatorIntrinsics
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
PowGeneric : 'T * ('T -> 'T -> 'T) * 'T * int -> 'T
// Usage:
PowGeneric (one, mul, value, exponent)
參數
one
型別:'T在型別參數中表示 1 的值。
mul
型別:'T -> 'T -> 'T型別參數的乘法運算。
value
型別:'T要做為乘冪數的值。
exponent
型別:int值的乘冪數。
傳回值
乘冪運算的結果。
備註
這個函式是由已編譯的 F# 程式碼使用,並不能直接使用。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:2.0, 4.0,可移植,可攜式執行檔 (PE)。