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