zig/std/special/compiler_rt/fixunssfdi.zig

12 lines
271 B
Zig
Raw Normal View History

const fixuint = @import("fixuint.zig").fixuint;
const builtin = @import("builtin");
pub extern fn __fixunssfdi(a: f32) u64 {
@setRuntimeSafety(builtin.is_test);
return fixuint(f32, u64, a);
}
test "import fixunssfdi" {
_ = @import("fixunssfdi_test.zig");
}