Skip to main content
Version: v1.5.0

pow

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​

echo '2' | zq -z 'yield pow(this, 5)' -

=>

32.