diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-12-23 22:08:53 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-12-23 22:15:48 -0500 |
| commit | 4183c6f1a52959ab5eef540c8eec1758079554eb (patch) | |
| tree | cbdecf12598c72f3d66d7fa5618d8a9c6338fa53 /std/math/log.zig | |
| parent | 9dae796fe3bd08c4e636f09d1849f6ce2879a50b (diff) | |
| download | zig-4183c6f1a52959ab5eef540c8eec1758079554eb.tar.gz zig-4183c6f1a52959ab5eef540c8eec1758079554eb.zip | |
move std/debug.zig to a subdirectory
self hosted compiler parser tests do some fuzz testing
Diffstat (limited to 'std/math/log.zig')
| -rw-r--r-- | std/math/log.zig | 5 |
1 files changed, 3 insertions, 2 deletions
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) { |
