1 2 3 4 5 6 7 8 9 10 11 12
const common = @import("./common.zig"); const floatToInt = @import("./float_to_int.zig").floatToInt; pub const panic = common.panic; comptime { @export(__fixxfdi, .{ .name = "__fixxfdi", .linkage = common.linkage }); } fn __fixxfdi(a: f80) callconv(.C) i64 { return floatToInt(i64, a); }