math: add inf, isInf

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-01-06 13:09:30 -07:00
parent aa2435e10e
commit 0d938ef6be

View file

@ -132,10 +132,12 @@ pub const nan_f64 = std.math.nan(f64);
// need to do this and instead can just import mach.math - we add to this list of re-exports as
// needed.
pub const inf = std.math.inf;
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 isInf = std.math.isInf;
pub const pi = std.math.pi;
pub const clamp = std.math.clamp;
pub const log10 = std.math.log10;