SourcePoint Intel Help

Table of Contents

pow

Raises a value by a power.

Syntax

[result =] pow(expr, power)

Where:

result

specifies a debug object of type real8 to which the function return value is assigned. If name is not specified, the return value is displayed on the next line of the screen.

expr

specifies a number or an expression of type real8.

power

specifies a number or an expression of type real8.

Discussion

The pow function raises the value specified by expr to the power specified by power (same as yx on a calculator).

Note: Values returned by this command are in real8 (64-bit floating point) precision. These values are displayed in the Command window rounded to 6 decimal digits. However, assignments and comparisons are performed on the full 64-bit value.

Example 1

Command input:

pow(3,3)

Result:

27

Example 2

Command input:

pow(3.1, 4.2)

Result:

115.803

ย