zig/std/special/compiler_rt/udivmoddi4.zig

12 lines
306 B
Zig

const udivmod = @import("udivmod.zig").udivmod;
const builtin = @import("builtin");
pub extern fn __udivmoddi4(a: u64, b: u64, maybe_rem: ?&u64) u64 {
@setRuntimeSafety(builtin.is_test);
return udivmod(u64, a, b, maybe_rem);
}
test "import udivmoddi4" {
_ = @import("udivmoddi4_test.zig");
}