Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function

pow — exponential function of any base

Synopsis

pow(x: number, y: number) -> float64

Description

The pow function returns the value x raised to the power of y. The return value is a float64 or an error.

Examples


# spq
values pow(this, 5)
# input
2
# expected output
32.