Lipi Reference Lipi

Functions

math.pow()

`base` raised to the power of `exponent`. The language has no exponentiation operator: a token for one exists in the lexer but no rule reaches it, so source containing `^` does not parse. This function is how you raise a number to a power.

Syntax · 1 of 4

                math.pow(const float base, const float exponent) → const float
              

Arguments

base required const float The number to raise.
exponent required const float The power to raise it to.

Return Type

const float

Syntax · 2 of 4

                math.pow(input float base, input float exponent) → input float
              

Arguments

base required input float The number to raise.
exponent required input float The power to raise it to.

Return Type

input float

Syntax · 3 of 4

                math.pow(simple float base, simple float exponent) → simple float
              

Arguments

base required simple float The number to raise.
exponent required simple float The power to raise it to.

Return Type

simple float

Syntax · 4 of 4

                math.pow(series float base, series float exponent) → series float
              

Arguments

base required series float The number to raise.
exponent required series float The power to raise it to.

Return Type

series float