---
title: "Math.LN2: Math member in the TypeShade language reference"
description: "Math.LN2, a Math member in the TypeShade language reference. The natural logarithm of 2, inlined as a compile-time f32 literal (approximately 0.69315)."
url: https://typeshade.dev/reference/math/LN2/
language: en
---

# `Math.LN2`

Math member

The natural logarithm of 2, inlined as a compile-time `f32` literal (approximately 0.69315).

The signature, the sentence and any message are the compiler's own text at commit af54ddad5.

## Syntax

```ts
Math.LN2: f32
```

## Description

The value matches JavaScript's `Math.LN2`.

## See also

- [Math members](https://typeshade.dev/reference/math/)
