2017-08-19 05:20:03 +08:00
|
|
|
const udivmod = @import("udivmod.zig").udivmod;
|
2017-08-27 17:44:03 +08:00
|
|
|
const builtin = @import("builtin");
|
2017-08-19 04:26:09 +08:00
|
|
|
|
2018-01-25 17:10:11 +08:00
|
|
|
pub extern fn __udivmodti4(a: u128, b: u128, maybe_rem: ?&u128) u128 {
|
2018-01-25 14:46:12 +08:00
|
|
|
@setRuntimeSafety(builtin.is_test);
|
2017-08-19 05:20:03 +08:00
|
|
|
return udivmod(u128, a, b, maybe_rem);
|
2017-08-19 04:26:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
test "import udivmodti4" {
|
|
|
|
_ = @import("udivmodti4_test.zig");
|
|
|
|
}
|