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.

_Qp_fge

cmptf2._Qp_fge
fn _Qp_fge(a: *const f128, b: *const f128) callconv(.c) bool

File

lib/compiler_rt/cmptf2.zig:100

Code

fn _Qp_fge(a: *const f128, b: *const f128) callconv(.c) bool {
    return switch (@as(SparcFCMP, @fromBackingInt(@intCast(_Qp_cmp(a, b))))) {
        .Equal, .Greater => true,
        .Less, .Unordered => false,
    };
}