2017-08-17 07:07:35 +08:00
|
|
|
const fixuint = @import("fixuint.zig").fixuint;
|
2017-10-02 12:10:42 +08:00
|
|
|
const builtin = @import("builtin");
|
2017-10-25 09:28:56 +08:00
|
|
|
const linkage = @import("index.zig").linkage;
|
2017-08-17 07:07:35 +08:00
|
|
|
|
|
|
|
export fn __fixunssfdi(a: f32) -> u64 {
|
2017-10-02 12:10:42 +08:00
|
|
|
@setDebugSafety(this, builtin.is_test);
|
|
|
|
@setGlobalLinkage(__fixunssfdi, linkage);
|
2017-08-17 07:07:35 +08:00
|
|
|
return fixuint(f32, u64, a);
|
|
|
|
}
|
|
|
|
|
|
|
|
test "import fixunssfdi" {
|
|
|
|
_ = @import("fixunssfdi_test.zig");
|
|
|
|
}
|