pub static e: float = 2.71828182845904523536028747135266250 |
Euler's number |
pub static frac_1_pi: float = 0.318309886183790671537767526745028724 |
1.0/pi |
pub static frac_1_sqrt2: float = 0.707106781186547524400844362104849039 |
1.0/sqrt(2.0) |
pub static frac_2_pi: float = 0.636619772367581343075535053490057448 |
2.0/pi |
pub static frac_2_sqrtpi: float = 1.12837916709551257389615890312154517 |
2.0/sqrt(pi) |
pub static frac_pi_2: float = 1.57079632679489661923132169163975144 |
pi/2.0 |
pub static frac_pi_4: float = 0.785398163397448309615660845819875721 |
pi/4.0 |
pub static ln_10: float = 2.30258509299404568401799145468436421 |
ln(10.0) |
pub static ln_2: float = 0.693147180559945309417232121458176568 |
ln(2.0) |
pub static log10_e: float = 0.434294481903251827651128918916605082 |
log10(e) |
pub static log2_e: float = 1.44269504088896340735992468100189214 |
log2(e) |
pub static pi: float = 3.14159265358979323846264338327950288 |
Archimedes' constant |
pub static sqrt2: float = 1.41421356237309504880168872420969808 |
sqrt(2.0) |
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).