mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 00:26:57 +00:00
12 lines
264 B
Zig
12 lines
264 B
Zig
const fixint = @import("fixint.zig").fixint;
|
|
const builtin = @import("builtin");
|
|
|
|
pub fn __fixdfdi(a: f64) callconv(.C) i64 {
|
|
@setRuntimeSafety(builtin.is_test);
|
|
return fixint(f64, i64, a);
|
|
}
|
|
|
|
test "import fixdfdi" {
|
|
_ = @import("fixdfdi_test.zig");
|
|
}
|