# LOG

Devuelve el logaritmo de x en la base proporcionada.

## Sintaxis

```
LOG(base, input)
```

## Argumentos

| Nombre | Tipo |
| --- | --- |
| base | numérico |
| input | numérico |

## Devuelve

`Double`

***

## Ejemplos

| base | input | Resultado |
| --- | --- | --- |
| 2 | 2 | 1.0 |
| 0.5 | 1 | 0.0 |
| 5 | 0.04 | -2.0 |
| 10 | 0 | "-Infinity" |
| 1 | 10 | "Infinity" |
| 10 | -2 | nan() |