LOG
Retorna o logaritmo de x para a base fornecida.
Sintaxe
LOG(base, input)
Argumentos
| Nome | Tipo |
|---|---|
| base | numérico |
| input | numérico |
Retorna
Double
Exemplos
| base | input | Saída |
|---|---|---|
| 2 | 2 | 1.0 |
| 0.5 | 1 | 0.0 |
| 5 | 0.04 | -2.0 |
| 10 | 0 | "-Infinity" |
| 1 | 10 | "Infinity" |
| 10 | -2 | nan() |