extendhftf2.zig (376B) - Raw
1 const common = @import("./common.zig"); 2 const extendf = @import("./extendf.zig").extendf; 3 4 pub const panic = common.panic; 5 6 comptime { 7 @export(&__extendhftf2, .{ .name = "__extendhftf2", .linkage = common.linkage, .visibility = common.visibility }); 8 } 9 10 pub fn __extendhftf2(a: common.F16T(f128)) callconv(.c) f128 { 11 return extendf(f128, f16, @as(u16, @bitCast(a))); 12 }