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.

__getf2

"These functions return a value greater than or equal to zero if neither argument is NaN, and a is greater than or equal to b."

getf2.__getf2
fn __getf2(a: f128, b: f128) callconv(.c) i32

File

lib/compiler_rt/getf2.zig:18

Code

fn __getf2(a: f128, b: f128) callconv(.c) i32 {
    return @backingInt(comparef.cmpf2(f128, comparef.GE, a, b));
}