12 lines
289 B
Zig
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(&__fixunsxfsi, "__fixunsxfsi");
|
|
}
|
|
|
|
fn __fixunsxfsi(a: f80) callconv(.c) u32 {
|
|
return intFromFloat(u32, a);
|
|
}
|