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-08-17 07:07:35 +08:00
|
|
|
|
2017-12-18 22:59:57 +08:00
|
|
|
pub extern fn __fixunsdfdi(a: f64) -> u64 {
|
2017-10-02 12:10:42 +08:00
|
|
|
@setDebugSafety(this, builtin.is_test);
|
2017-08-17 07:07:35 +08:00
|
|
|
return fixuint(f64, u64, a);
|
|
|
|
}
|
|
|
|
|
|
|
|
test "import fixunsdfdi" {
|
|
|
|
_ = @import("fixunsdfdi_test.zig");
|
|
|
|
}
|
|
|
|
|