From 0538698bdad9e34cb80aeb4ffeb0297d2c836818 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 8 Sep 2023 14:46:13 -0700 Subject: [PATCH] math: add some more std.math re-exports Signed-off-by: Stephen Gutekanst --- src/math/main.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/math/main.zig b/src/math/main.zig index 4b365a8d..b99f2443 100644 --- a/src/math/main.zig +++ b/src/math/main.zig @@ -114,7 +114,12 @@ pub const nan_f64 = std.math.nan(f64); // needed. pub const sqrt = std.math.sqrt; +pub const sin = std.math.sin; +pub const cos = std.math.cos; pub const isNan = std.math.isNan; +pub const pi = std.math.pi; +pub const clamp = std.math.clamp; +pub const log10 = std.math.log10; /// 2/sqrt(π) pub const two_sqrtpi = std.math.two_sqrtpi;