mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
0d533433e2
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.
13 lines
307 B
Zig
13 lines
307 B
Zig
const common = @import("./common.zig");
|
|
const comparef = @import("./comparef.zig");
|
|
|
|
pub const panic = common.panic;
|
|
|
|
comptime {
|
|
@export(__unordhf2, .{ .name = "__unordhf2", .linkage = common.linkage });
|
|
}
|
|
|
|
pub fn __unordhf2(a: f16, b: f16) callconv(.C) i32 {
|
|
return comparef.unordcmp(f16, a, b);
|
|
}
|