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 math = @import("./math.zig"); | ||||
| const mem = @import("./mem.zig"); | ||||
| const meta = @import("./meta.zig"); | ||||
| const oar = @import("./oar.zig"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user