ed36dbbd9c
that's all this commit does. further commits will fix cli flags and such. see #2221
12 lines
258 B
Zig
12 lines
258 B
Zig
const fixint = @import("fixint.zig").fixint;
|
|
const builtin = @import("builtin");
|
|
|
|
pub extern fn __fixdfsi(a: f64) i32 {
|
|
@setRuntimeSafety(builtin.is_test);
|
|
return fixint(f64, i32, a);
|
|
}
|
|
|
|
test "import fixdfsi" {
|
|
_ = @import("fixdfsi_test.zig");
|
|
}
|