2017-08-16 16:07:35 -07:00
|
|
|
const fixuint = @import("fixuint.zig").fixuint;
|
2017-10-01 21:10:42 -07:00
|
|
|
const builtin = @import("builtin");
|
2017-08-16 16:07:35 -07:00
|
|
|
|
2018-01-25 01:10:11 -08:00
|
|
|
pub extern fn __fixunssfdi(a: f32) u64 {
|
2018-01-24 22:46:12 -08:00
|
|
|
@setRuntimeSafety(builtin.is_test);
|
2017-08-16 16:07:35 -07:00
|
|
|
return fixuint(f32, u64, a);
|
|
|
|
}
|
|
|
|
|
|
|
|
test "import fixunssfdi" {
|
|
|
|
_ = @import("fixunssfdi_test.zig");
|
|
|
|
}
|