rust-decimal icon indicating copy to clipboard operation
rust-decimal copied to clipboard

Provide handy constants

Open rawhuul opened this issue 1 year ago • 1 comments

Hi, as the library is geared towards mathematical computation, it would be great if it included constants such as: Archimedes' constant π, Euler's number e, The golden ratio φ, Euler–Mascheroni constant γ, Conway's constant λ, The imaginary unit i, etc.

rawhuul avatar Aug 13 '24 16:08 rawhuul

Definitely can't do i. You'll need a complex numbers library for that. The rest are doable although they can be converted from any other source with constants as floats or strings.

Tony-Samuels avatar Aug 19 '24 10:08 Tony-Samuels