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.

addhf3.zig

File

Code

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

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

fn __addhf3(a: f16, b: f16) callconv(.c) f16 {
    return addf3(f16, a, b);
}