---
title: "log2 (Opus Funktion)"
---
### Beschreibung

Berechnet den Logarithmus einer Zahl mit Basis 2 (log<sub>2</sub>).

### Argumente

| Name | Typ | Beschreibung |
| --- | --- | --- |
|  | [float](../../standard-datentypen/float.md) | Beliebige Zahl |

### Rückgabewert [float](../../standard-datentypen/float.md)

Logarithmus mit Basis 2 des Argumentes

### Beispiel

```
Result = log2(2.5);
```

### Siehe auch

[exp2](exp-opus-funktion.md)

[log](log-opus-funktion.md)

[log10](log10-opus-funktion.md)
