numeric_power()

A function for calculating the exponentiation of two values

numeric_power() is an undocumented system function for calculating the exponentiation of two numeric values.

numeric_power() was added in PostgreSQL 6.5.

Usage

numeric_power ( numeric, numeric ) → numeric

The documented function power() provides the same functionality.

Change history

Examples

Basic usage example for numeric_power():

postgres=# SELECT numeric_power(3,3);
   numeric_power    
--------------------
 27.000000000000000
(1 row)

Categories

System function, Undocumented feature

See also

power()