Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std.math: remove constants that should be expressions
All four of these can be represented in fewer characters with expressions, which will be guaranteed to happen at compile-time, and have the same or better precision. The other math constants here which depend on function calls could be similarly removed if and when #425 is solved. However I left them for now since Zig does not eagerly evaluate functions with comptime parameters.
- Loading branch information