Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

__divmodsi4

int.__divmodsi4
pub fn __divmodsi4(a: i32, b: i32, rem: *i32) callconv(.c) i32

File

lib/compiler_rt/int.zig:210

Code

pub fn __divmodsi4(a: i32, b: i32, rem: *i32) callconv(.c) i32 {
    const d = __divsi3(a, b);
    rem.* = a -% (d * b);
    return d;
}