| author | |
| committer | |
| log | b3539b40a6fc98978b820a74c348b6272bfbc027 |
| tree | 05b484ac549015bd72e34954c8077db30f33e322 |
| parent | aa4e92f3b3dc4b349eeabf589f8b9047e7342f03 |
1 files changed, 3 insertions(+), 0 deletions(-)
lib/std/math.zig+3| ... | ... | @@ -10,6 +10,9 @@ pub const e = 2.71828182845904523536028747135266249775724709369995; |
| 10 | 10 | /// Archimedes' constant (π) |
| 11 | 11 | pub const pi = 3.14159265358979323846264338327950288419716939937510; |
| 12 | 12 | |
| 13 | /// Circle constant (τ) | |
| 14 | pub const tau = 2 * pi; | |
| 15 | ||
| 13 | 16 | /// log2(e) |
| 14 | 17 | pub const log2e = 1.442695040888963407359924681001892137; |
| 15 | 18 |