Files
zig/lib/compiler_rt/negtf2.zig
T
Andrew Kelley 04c180c8e5 compiler_rt: partial cleanup
introduce `symbol` helper function and partially migrate to using it
2026-02-09 20:04:17 +01:00

13 lines
281 B
Zig

const common = @import("./common.zig");
const symbol = @import("../compiler_rt.zig").symbol;
comptime {
if (common.want_ppc_abi)
symbol(&__negtf2, "__negkf2");
symbol(&__negtf2, "__negtf2");
}
fn __negtf2(a: f128) callconv(.c) f128 {
return common.fneg(a);
}