4 releases (2 breaking)
Uses new Rust 2024
| 0.3.1 | Jul 28, 2025 |
|---|---|
| 0.3.0 | Jul 28, 2025 |
| 0.2.0 | Jul 28, 2025 |
| 0.1.0 | Jul 28, 2025 |
#1 in #hope
4KB
constants is a big (and growing) library of mathematical and physical constants. While in no
way revolutionary, I hope that I can save you a few keystrokes with this.
Sources
The source for this data is mainly Wikipedia right now, so expect these to change a little bit. What I mean by this is that I will try to find a more reputable source for each constant, hopefully one that yields higher precision.
I wrote this convenience library for one of my Summer of Making submissions. Please, use this library as you wish ❤️
Data sources
Most of the data comes from Wikipedia articles right now. While not unacceptable, I'd prefer to include only more reputable sources with higher precision.
Is something missing?
Just open an issue and we can discuss an addition. This catalogue of mine is insofar very incomplete, so if you need anything added, feel free to contribute!