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.

__eqtf2

"These functions return zero if neither argument is NaN, and a and b are equal." Note that due to some kind of historical accident, __eqtf2 and __netf2 are defined to have the same return value.

cmptf2.__eqtf2
fn __eqtf2(a: f128, b: f128) callconv(.c) i32

File

lib/compiler_rt/cmptf2.zig:56

Code

fn __eqtf2(a: f128, b: f128) callconv(.c) i32 {
    return __cmptf2(a, b);
}