Share via


OperatorIntrinsics.PowGeneric<'T> Function (F#)

This is a library intrinsic. Calls to this function may be generated by uses of the generic pown operator.

Namespace/Module Path: Microsoft.FSharp.Core.Operators.OperatorIntrinsics

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
PowGeneric : 'T * ('T -> 'T -> 'T) * 'T * int -> 'T

// Usage:
PowGeneric (one, mul, value, exponent)

Parameters

  • one
    Type: 'T

    The value representing 1 for the type parameter.

  • mul
    Type: 'T -> 'T -> 'T

    The multiplication operation for the type parameter.

  • value
    Type: 'T

    The value to be raised to a power.

  • exponent
    Type: int

    The power to raise the value to.

Return Value

The result of the exponentiation operation.

Remarks

This function is for use by compiled F# code and should not be used directly.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable, Portable

See Also

Reference

Operators.OperatorIntrinsics Module (F#)

Core.Operators Module (F#)