Power (^)

Syntax

base ^ power

Description

Raises base to the power of power.

Argument types:

  • baseFractional number | Integer
  • powerFractional number | Integer

Return type: Fractional number

Examples

2 ^ 3 = 8.0
2.1 ^ -0.3 = 0.80045

Data source support

ClickHouse 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.

Previous