1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
The mathematical constant Pi.

# Returns
a f64 containing the first 20+1 decimal places of Pi.
*/
pub const PI: f64 = 3.14159265358979323846;
/**
Eulers number.

# Returns
a f64 containing the first 20+1 decimal places of Eulers number.
*/
pub const E: f64 = 2.71828182845904523536;
/**
The square root of 2.

# Returns
a f64 containing the first 20+1 decimal places of the square root of 2.
*/
pub const SQRT2: f64 = 1.41421356237309504880;
/**
The golden Ratio.

# Returns
a f64 containing the first 20+1 decimal places of the golden ratio.
*/
pub const GOLDENRATIO: f64 = 1.6180339887498948482;