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