> For the complete documentation index, see [llms.txt](https://docs.e6data.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.e6data.com/product-documentation/sql-command-reference/mathematical-functions-and-operators/logarithmic-functions.md).

# Logarithmic Functions

#### <mark style="color:purple;">LN(</mark> \<expr> <mark style="color:purple;">)</mark> &#x20;

Computes the natural logarithm of a numeric expression. Expression should be greater than 0

Support datatype: Integer, Double

```sql
> select ln(-7)
nan

> select ln(10)
2.302585092994046
```
