learningrustandlemmy
Learning Rust and Lemmy maegul 3mo ago 100%

`std::f32::consts` - Rust (module for mathematical constants)

https://doc.rust-lang.org/stable/std/f32/consts/index.html

I hadn't thought about this until now. Handy.

Of course there's the f64 equivalent: std::f64::consts

8
0
Comments 0