2017-08-18 14:20:03 -07:00
|
|
|
const udivmod = @import("udivmod.zig").udivmod;
|
2017-08-27 02:44:03 -07:00
|
|
|
const builtin = @import("builtin");
|
2017-10-24 18:28:56 -07:00
|
|
|
const linkage = @import("index.zig").linkage;
|
2017-08-18 13:26:09 -07:00
|
|
|
|
|
|
|
export fn __udivmodti4(a: u128, b: u128, maybe_rem: ?&u128) -> u128 {
|
2017-08-27 02:44:03 -07:00
|
|
|
@setDebugSafety(this, builtin.is_test);
|
2017-10-01 21:10:42 -07:00
|
|
|
@setGlobalLinkage(__udivmodti4, linkage);
|
2017-08-18 14:20:03 -07:00
|
|
|
return udivmod(u128, a, b, maybe_rem);
|
2017-08-18 13:26:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
test "import udivmodti4" {
|
|
|
|
_ = @import("udivmodti4_test.zig");
|
|
|
|
}
|