zig/lib/std/special/compiler_rt/fixdfti.zig

12 lines
266 B
Zig

const fixint = @import("fixint.zig").fixint;
const builtin = @import("builtin");
pub fn __fixdfti(a: f64) callconv(.C) i128 {
@setRuntimeSafety(builtin.is_test);
return fixint(f64, i128, a);
}
test "import fixdfti" {
_ = @import("fixdfti_test.zig");
}