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

# `Math.LOG2E`

Math member

The base-2 logarithm of e, inlined as a compile-time `f32` literal (approximately 1.44270).

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

## Syntax

```ts
Math.LOG2E: f32
```

## Description

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

## See also

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