2017-08-16 16:07:35 -07:00
|
|
|
const fixuint = @import("fixuint.zig").fixuint;
|
2017-10-01 21:10:42 -07:00
|
|
|
const builtin = @import("builtin");
|
2017-08-16 16:07:35 -07:00
|
|
|
|
2017-12-18 06:59:57 -08:00
|
|
|
pub extern fn __fixunsdfti(a: f64) -> u128 {
|
2017-10-01 21:10:42 -07:00
|
|
|
@setDebugSafety(this, builtin.is_test);
|
2017-08-16 16:07:35 -07:00
|
|
|
return fixuint(f64, u128, a);
|
|
|
|
}
|
|
|
|
|
|
|
|
test "import fixunsdfti" {
|
|
|
|
_ = @import("fixunsdfti_test.zig");
|
|
|
|
}
|