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.

truncxfdf2.zig

File

lib/compiler_rt/truncxfdf2.zig

Code

const symbol = @import("../compiler_rt.zig").symbol;
const trunc_f80 = @import("./truncf.zig").trunc_f80;

comptime {
    symbol(&__truncxfdf2, "__truncxfdf2");
}

fn __truncxfdf2(a: f80) callconv(.c) f64 {
    return trunc_f80(f64, a);
}