Application Context Implementation #4
|
@ -1,6 +0,0 @@
|
||||||
///
|
|
||||||
/// Rounds the `Number` `value` up to the nearest `multiple`.
|
|
||||||
///
|
|
||||||
pub fn roundUp(comptime Number: type, value: Number, multiple: Number) Number {
|
|
||||||
return value + @mod(@mod(multiple - value, multiple), multiple);
|
|
||||||
}
|
|
|
@ -3,7 +3,6 @@ const ext = @cImport({
|
||||||
});
|
});
|
||||||
|
|
||||||
const io = @import("./io.zig");
|
const io = @import("./io.zig");
|
||||||
const math = @import("./math.zig");
|
|
||||||
const mem = @import("./mem.zig");
|
const mem = @import("./mem.zig");
|
||||||
const meta = @import("./meta.zig");
|
const meta = @import("./meta.zig");
|
||||||
const oar = @import("./oar.zig");
|
const oar = @import("./oar.zig");
|
||||||
|
|
Loading…
Reference in New Issue