mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
539e0b0469
PPC targets can also use the functionality-equivalent standard routine, so
unconditionally export the standard routine.
Fixup of #16054 merged in f043071cdf
.
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);
|
|
}
|