Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SevenMath Functions (continued)

Power Function

Overview

The Power function raises a base value by an exponent.

Syntax/Parameters

Syntax

float = Power ( float base, float exponent );

Parameters

data

A float as a base value.

exponent

A float as an exponent value.

Return Value

Returns a float containing data raised to the power of exponent. If the magnitude of the result is too large to be represented by a value of the return type, the function returns #INF and the GetLastError function will return ERROR_OVERFLOW.

Remarks

The Power function does not recognize integral floating-point values greater than 264 (for example, 1.0E100).

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic