zig/lib/compiler_rt/floatdixf.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
253 B
Zig

const symbol = @import("../compiler_rt.zig").symbol;
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
comptime {
symbol(&__floatdixf, "__floatdixf");
}
fn __floatdixf(a: i64) callconv(.c) f80 {
return floatFromInt(f80, a);
}