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