LOG2
Retorna o logaritmo de base 2 de x.
Sintaxe
LOG2(input)
Argumentos
| Nome | Tipo | Obrigatório |
|---|---|---|
| input | numérico | true |
Retorna
Retorna um valor double.
Exemplos
| input | saída |
|---|---|
| 2 | 1.0 |
| 16.0 | 4.0 |
| 0.5 | -1.0 |
| 15 | 3.9068905956085187 |
| 0 | '-Infinity' |
| -2 | nan() |