Files
WrldBox/.tmp_zig/lib/zig/compiler_rt/fixxfdi.zig
swim67667 c17dfc94ce
Some checks failed
Build Project / build (ubuntu-latest) (push) Failing after 12m33s
added multi-compiling stuff (only works on my mac for now)
2026-06-28 16:40:20 -04:00

11 lines
247 B
Zig

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