Skip to main content

Module constants

Module constants 

Source
Expand description

std::math::consts - mathematical constants from std::f64::consts.

All constants are zero-argument functions returning f64. Accessed as std::math::consts::PI() in rl.

Modulesยง

e ๐Ÿ”’
euler_gamma ๐Ÿ”’
frac_1_pi ๐Ÿ”’
frac_1_sqrt_2 ๐Ÿ”’
frac_2_pi ๐Ÿ”’
frac_2_sqrt_pi ๐Ÿ”’
frac_pi_2 ๐Ÿ”’
frac_pi_3 ๐Ÿ”’
frac_pi_4 ๐Ÿ”’
frac_pi_6 ๐Ÿ”’
frac_pi_8 ๐Ÿ”’
inf ๐Ÿ”’
is_inf ๐Ÿ”’
is_nan ๐Ÿ”’
ln_2 ๐Ÿ”’
ln_10 ๐Ÿ”’
log2_10 ๐Ÿ”’
log2_e ๐Ÿ”’
log10_2 ๐Ÿ”’
log10_e ๐Ÿ”’
nan ๐Ÿ”’
phi ๐Ÿ”’
pi ๐Ÿ”’
sqrt_2 ๐Ÿ”’
tau ๐Ÿ”’

Constantsยง

KEYWORDS

Functionsยง

module