Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$PWR^XLFMTH(): X to the Y Power

Reference Type: Supported, Category: Math Functions, ICR#: 10105

Description

The $$PWR^XLFMTH extrinsic function returns x to the y power. This function makes use of LN and EXP.

Format

  $$PWR^XLFMTH(x,y[,n])

Input Parameters

x:

(required) Number for which you want the exponent value.

y:

(required) The exponent to which the input number (x) should be raised.

n:

(optional) The precision for the function. Precision means the detail of the result, in terms of number of digits.

Output

returns:

Returns the exponent value.

Example

>S X=$$PWR^XLFMTH(3.2,1.5)

>W X
5.7243340224