diff --git a/lib/std/math.zig b/lib/std/math.zig index e47021512e..ee30cb9758 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -4,7 +4,10 @@ const TypeId = builtin.TypeId; const assert = std.debug.assert; const testing = std.testing; +/// Euler's number (e) pub const e = 2.71828182845904523536028747135266249775724709369995; + +/// Archimedes' constant (π) pub const pi = 3.14159265358979323846264338327950288419716939937510; // From a small c++ [program using boost float128](https://github.com/winksaville/cpp_boost_float128) diff --git a/lib/std/special/docs/index.html b/lib/std/special/docs/index.html index e7a57137e5..ec226f220b 100644 --- a/lib/std/special/docs/index.html +++ b/lib/std/special/docs/index.html @@ -156,7 +156,7 @@ font-weight: bold; } - #sectGlobalVars td, #sectFns td, #sectFields td { + td { vertical-align: top; margin: 0; padding: 0.5em; @@ -338,6 +338,13 @@ +