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