zig/lib/compiler_rt/trunctfhf2.zig
2026-01-04 00:27:08 -08:00

10 lines
326 B
Zig

const common = @import("./common.zig");
const truncf = @import("./truncf.zig").truncf;
comptime {
@export(&__trunctfhf2, .{ .name = "__trunctfhf2", .linkage = common.linkage, .visibility = common.visibility });
}
pub fn __trunctfhf2(a: f128) callconv(.c) common.F16T(f128) {
return @bitCast(truncf(f16, f128, a));
}