mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 06:43:07 +00:00
PPC targets can also use the functionality-equivalent standard routine, so unconditionally export the standard routine. Fixup of #16054 merged in f043071cdfb956ff16b1441c9d01ce43eea9fb7b.
14 lines
407 B
Zig
14 lines
407 B
Zig
const common = @import("./common.zig");
|
|
|
|
pub const panic = common.panic;
|
|
|
|
comptime {
|
|
if (common.want_ppc_abi)
|
|
@export(__negtf2, .{ .name = "__negkf2", .linkage = common.linkage, .visibility = common.visibility });
|
|
@export(__negtf2, .{ .name = "__negtf2", .linkage = common.linkage, .visibility = common.visibility });
|
|
}
|
|
|
|
fn __negtf2(a: f128) callconv(.C) f128 {
|
|
return common.fneg(a);
|
|
}
|