zig/std/special/compiler_rt/umodti3.zig

10 lines
271 B
Zig
Raw Normal View History

const __udivmodti4 = @import("udivmodti4.zig").__udivmodti4;
const builtin = @import("builtin");
2017-12-18 14:59:57 +00:00
pub extern fn __umodti3(a: u128, b: u128) -> u128 {
@setDebugSafety(this, builtin.is_test);
var r: u128 = undefined;
_ = __udivmodti4(a, b, &r);
return r;
}