# LOG

指定された底に対する x の対数を返します。

## 構文

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

## 引数

| 名前 | 型 |
| --- | --- |
| base | numeric |
| input | numeric |

## 戻り値

`Double`

***

## 例

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