mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 07:08:59 +00:00
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.
11 lines
231 B
Zig
11 lines
231 B
Zig
const common = @import("./common.zig");
|
|
|
|
pub const panic = common.panic;
|
|
|
|
comptime {
|
|
@export(__neghf2, .{ .name = "__neghf2", .linkage = common.linkage });
|
|
}
|
|
|
|
fn __neghf2(a: f16) callconv(.C) f16 {
|
|
return common.fneg(a);
|
|
}
|