Categorias:

Funções numéricas (Expoente e raiz)

EXP

Calcula o número de Euler e elevado a um valor de ponto flutuante.

Sintaxe

EXP( <input_expr> )
Copy

Arguments

input_expr

The value or expression to operate on. The data type must be FLOAT or DECFLOAT.

Returns

If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.

Exemplos

SELECT EXP(1), EXP(LN(10));
-------------+-------------+
   EXP(1)    | EXP(LN(10)) |
-------------+-------------+
 2.718281828 | 10          |
-------------+-------------+
Copy