Extensions.Math.Power

From emotive
Revision as of 01:43, 16 February 2016 by Hb (talk | contribs) (Hb moved page Power to Extensions.Math.Power: #3153)
Jump to navigation Jump to search

Classification

Name Power
Short Description Power of a number with a certain exponent
Class Term
Extension OTX Math Extension
Group -
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

FloatTerm = Math.Power(NumericTerm, NumericTerm);

Description

The Power term is used to calculate the power of a number with a specific exponent.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Float Result of power calculations.

Properties

Name Data Type Class Default Cardinality Description
Numeral - Term - [1] The numeric value of type integer or float, on which the power is calculated.
Exponent - Term - [1] The numeric value of type integer or float, which will serve as an exponent in the calculation.

OTL Examples

Float Float1;

Float1 = Math.Power(1, 2);

See also

Log
Ln
Sin
Cos
Tan