master
 1const common = @import("./common.zig");
 2const intFromFloat = @import("./int_from_float.zig").intFromFloat;
 3
 4pub const panic = common.panic;
 5
 6comptime {
 7    @export(&__fixhfdi, .{ .name = "__fixhfdi", .linkage = common.linkage, .visibility = common.visibility });
 8}
 9
10fn __fixhfdi(a: f16) callconv(.c) i64 {
11    return intFromFloat(i64, a);
12}