共用方式為


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 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

版本資訊

F# 執行階段

支援版本:2.0、4.0

Silverlight

支援版本:3

請參閱

參考

Operators.OperatorIntrinsics 模組 (F#)

Core.Operators 模組 (F#)