85 lines
929 B
Markdown
85 lines
929 B
Markdown
---
|
|
sidebar_position: 8
|
|
title: Math
|
|
---
|
|
|
|
### E
|
|
|
|
```
|
|
Math.e:
|
|
```
|
|
|
|
Euler's number; ≈ 2.718281828459045
|
|
|
|
### LN2
|
|
|
|
```
|
|
Math.ln2:
|
|
```
|
|
|
|
Natural logarithm of 2; ≈ 0.6931471805599453
|
|
|
|
### LN10
|
|
|
|
```
|
|
Math.ln10:
|
|
```
|
|
|
|
Natural logarithm of 10; ≈ 2.302585092994046
|
|
|
|
### LOG2E
|
|
|
|
```
|
|
Math.log2e:
|
|
```
|
|
|
|
Base 2 logarithm of E; ≈ 1.4426950408889634Base 2 logarithm of E; ≈ 1.4426950408889634
|
|
|
|
### LOG10E
|
|
|
|
```
|
|
Math.log10e:
|
|
```
|
|
|
|
Base 10 logarithm of E; ≈ 0.4342944819032518
|
|
|
|
### PI
|
|
|
|
```
|
|
Math.pi:
|
|
```
|
|
|
|
Pi - ratio of the circumference to the diameter of a circle; ≈ 3.141592653589793
|
|
|
|
### SQRT1_2
|
|
|
|
```
|
|
Math.sqrt1_2:
|
|
```
|
|
|
|
Square root of 1/2; ≈ 0.7071067811865476
|
|
|
|
### SQRT2
|
|
|
|
```
|
|
Math.sqrt2:
|
|
```
|
|
|
|
Square root of 2; ≈ 1.4142135623730951
|
|
|
|
### PHI
|
|
|
|
```
|
|
Math.phi:
|
|
```
|
|
|
|
Phi is the golden ratio. 1.618033988749895
|
|
|
|
### TAU
|
|
|
|
```
|
|
Math.tau:
|
|
```
|
|
|
|
Tau is the ratio constant of a circle's circumference to radius, equal to 2 \* pi. 6.283185307179586
|