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.

__subhf3

subhf3.__subhf3
fn __subhf3(a: f16, b: f16) callconv(.c) f16

File

lib/compiler_rt/subhf3.zig:9

Code

fn __subhf3(a: f16, b: f16) callconv(.c) f16 {
    const neg_b = @as(f16, @bitCast(@as(u16, @bitCast(b)) ^ (@as(u16, 1) << 15)));
    return addf3(f16, a, neg_b);
}