zig/lib/compiler_rt/unordxf2.zig
Cody Tapscott 0d533433e2 compiler_rt: Add missing f16 functions
This change also exposes some of the existing functions under both the
PPC-style names symbols and the compiler-rt-style names, since Zig
currently lowers softfloat calls to the latter.
2022-10-13 12:53:20 -07:00

13 lines
307 B
Zig

const common = @import("./common.zig");
const comparef = @import("./comparef.zig");
pub const panic = common.panic;
comptime {
@export(__unordxf2, .{ .name = "__unordxf2", .linkage = common.linkage });
}
pub fn __unordxf2(a: f80, b: f80) callconv(.C) i32 {
return comparef.unordcmp(f80, a, b);
}