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.

extenddfxf2.zig

File

lib/compiler_rt/extenddfxf2.zig

Code

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

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

pub fn __extenddfxf2(a: f64) callconv(.c) f80 {
    return extend_f80(f64, @as(u64, @bitCast(a)));
}