math: add some more std.math re-exports
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f2f6df9f7b
commit
0538698bda
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue