From 4183c6f1a52959ab5eef540c8eec1758079554eb Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 23 Dec 2017 22:08:53 -0500 Subject: move std/debug.zig to a subdirectory self hosted compiler parser tests do some fuzz testing --- std/math/log.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'std/math/log.zig') diff --git a/std/math/log.zig b/std/math/log.zig index 1ff226f7e5..4edb77bb1a 100644 --- a/std/math/log.zig +++ b/std/math/log.zig @@ -1,7 +1,8 @@ -const math = @import("index.zig"); +const std = @import("../index.zig"); +const math = std.math; const builtin = @import("builtin"); const TypeId = builtin.TypeId; -const assert = @import("../debug.zig").assert; +const assert = std.debug.assert; pub fn log(comptime T: type, base: T, x: T) -> T { if (base == 2) { -- cgit v1.2.3