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.

__nehf2

"These functions return a nonzero value if either argument is NaN, or if a and b are unequal." Note that due to some kind of historical accident, __eqhf2 and __nehf2 are defined to have the same return value.

comparef.__nehf2
fn __nehf2(a: f16, b: f16) callconv(.c) i32

File

lib/compiler_rt/comparef.zig:122

Code

fn __nehf2(a: f16, b: f16) callconv(.c) i32 {
    return __cmphf2(a, b);
}