zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

extendhfdf2.zig (373B) - 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(&__extendhfdf2, .{ .name = "__extendhfdf2", .linkage = common.linkage, .visibility = common.visibility });
      8 }
      9 
     10 pub fn __extendhfdf2(a: common.F16T(f64)) callconv(.c) f64 {
     11     return extendf(f64, f16, @as(u16, @bitCast(a)));
     12 }