# LOG2

Zwraca logarytm o podstawie 2 z x.

## Składnia

```
LOG2(input)
```

## Argumenty

| Nazwa | Typ | Wymagana |
| --- | --- | --- |
| Dane wejściowe | liczbowy | Prawda |

## Zwraca wartość

Zwraca wartość `double`.

***

## Przykłady

| Dane wejściowe | dane wyjściowe |
| --- | --- |
| 2 | 1.0 |
| 16.0 | 4.0 |
| 0.5 | -1 |
| 15 | 3.9068905956085187 |
| 0 | '-Infinity' |
| -2 | nan() |