master
 1const std = @import("std");
 2const common = @import("./common.zig");
 3
 4pub const panic = common.panic;
 5
 6comptime {
 7    @export(&__subxf3, .{ .name = "__subxf3", .linkage = common.linkage, .visibility = common.visibility });
 8}
 9
10fn __subxf3(a: f80, b: f80) callconv(.c) f80 {
11    var b_rep = std.math.F80.fromFloat(b);
12    b_rep.exp ^= 0x8000;
13    const neg_b = b_rep.toFloat();
14    return a + neg_b;
15}