aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-11-29 10:44:55 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-11-29 10:48:46 -0500
commit2ab7f31e99defc62353c3dfed0f6f427c9ac8e80 (patch)
tree202109b1fc2959021d0e5db180a07eecc134e9bc /lib/std/debug.zig
parenta6c9c5f767217ba3591e51047736f0fa6a975a57 (diff)
downloadzig-2ab7f31e99defc62353c3dfed0f6f427c9ac8e80.tar.gz
zig-2ab7f31e99defc62353c3dfed0f6f427c9ac8e80.zip
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.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions