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_fle

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

File

lib/compiler_rt/cmptf2.zig:107

Code

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