13 lines
378 B
Zig
13 lines
378 B
Zig
const udivmod = @import("udivmod.zig").udivmod;
|
|
const builtin = @import("builtin");
|
|
|
|
export fn __udivmoddi4(a: u64, b: u64, maybe_rem: ?&u64) -> u64 {
|
|
@setDebugSafety(this, builtin.is_test);
|
|
@setGlobalLinkage(__udivmoddi4, builtin.GlobalLinkage.LinkOnce);
|
|
return udivmod(u64, a, b, maybe_rem);
|
|
}
|
|
|
|
test "import udivmoddi4" {
|
|
_ = @import("udivmoddi4_test.zig");
|
|
}
|