| author | |
| committer | |
| log | 5125788e331c146ef5f5f33be775e3538353a0b6 |
| tree | 68b889f8e4f76683d64b230700060c1051cca25c |
| parent | ac2333ee63b3c0af8a075d325e2313c9b255a46e |
1 files changed, 3 insertions(+), 0 deletions(-)
lib/std/math.zig+3| ... | ... | @@ -9,6 +9,9 @@ pub const e = 2.71828182845904523536028747135266249775724709369995; |
| 9 | 9 | /// Archimedes' constant (π) |
| 10 | 10 | pub const pi = 3.14159265358979323846264338327950288419716939937510; |
| 11 | 11 | |
| 12 | /// Phi or Golden ratio constant (Φ) = (1 + sqrt(5))/2 | |
| 13 | pub const phi = 1.6180339887498948482045868343656381177203091798057628621; | |
| 14 | ||
| 12 | 15 | /// Circle constant (τ) |
| 13 | 16 | pub const tau = 2 * pi; |
| 14 | 17 |