RMath

rmath.constants

High-precision mathematical and machine-level constants provided directly from the Rust standard library for maximum accuracy.

Proven: Exported Constants

constants_verify.py
import rmath.constants as c

print(f"PI   : {c.PI:.15f}")
print(f"E    : {c.E:.15f}")
print(f"PHI  : {c.PHI:.15f}")
print(f"EPS  : {c.EPSILON_F64}")
PI : 3.141592653589793 E : 2.718281828459045 PHI : 1.618033988749895 EPS : 2.220446049250313e-16