zig/lib/compiler_rt/truncxfdf2.zig
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

10 lines
239 B
Zig

const symbol = @import("../compiler_rt.zig").symbol;
const trunc_f80 = @import("./truncf.zig").trunc_f80;
comptime {
symbol(&__truncxfdf2, "__truncxfdf2");
}
fn __truncxfdf2(a: f80) callconv(.c) f64 {
return trunc_f80(f64, a);
}