std.math: Add least common multiple (lcm)
This commit is contained in:
@@ -235,6 +235,7 @@ pub const sinh = @import("math/sinh.zig").sinh;
|
||||
pub const cosh = @import("math/cosh.zig").cosh;
|
||||
pub const tanh = @import("math/tanh.zig").tanh;
|
||||
pub const gcd = @import("math/gcd.zig").gcd;
|
||||
pub const lcm = @import("math/lcm.zig").lcm;
|
||||
pub const gamma = @import("math/gamma.zig").gamma;
|
||||
pub const lgamma = @import("math/gamma.zig").lgamma;
|
||||
|
||||
@@ -395,6 +396,7 @@ test {
|
||||
_ = cosh;
|
||||
_ = tanh;
|
||||
_ = gcd;
|
||||
_ = lcm;
|
||||
_ = gamma;
|
||||
_ = lgamma;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user