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 __fixunssfti(a: f32) -> u128 {
|
2017-10-02 12:10:42 +08:00
|
|
|
@setDebugSafety(this, builtin.is_test);
|
|
|
|
@setGlobalLinkage(__fixunssfti, linkage);
|
2017-08-17 07:07:35 +08:00
|
|
|
return fixuint(f32, u128, a);
|
|
|
|
}
|
|
|
|
|
|
|
|
test "import fixunssfti" {
|
|
|
|
_ = @import("fixunssfti_test.zig");
|
|
|
|
}
|
|
|
|
|