zig

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

extenddfxf2.zig (364B) - Raw


      1 const common = @import("./common.zig");
      2 const extend_f80 = @import("./extendf.zig").extend_f80;
      3 
      4 pub const panic = common.panic;
      5 
      6 comptime {
      7     @export(&__extenddfxf2, .{ .name = "__extenddfxf2", .linkage = common.linkage, .visibility = common.visibility });
      8 }
      9 
     10 pub fn __extenddfxf2(a: f64) callconv(.c) f80 {
     11     return extend_f80(f64, @as(u64, @bitCast(a)));
     12 }