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