Table of contents
TOC
Collapse the table of content
Expand the table of content

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

Den Delimarsky|Last Updated: 8/18/2017
|
1 Contributor

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)

Syntax

// 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

Operators.OperatorIntrinsics Module (F#)

Core.Operators Module (F#)

© 2018 Microsoft