Files
WrldBox/.tmp_zig/lib/zig/compiler_rt/fixunshfsi.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

12 lines
289 B
Zig

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