floatdixf.zig (347B) - Raw
1 const common = @import("./common.zig"); 2 const floatFromInt = @import("./float_from_int.zig").floatFromInt; 3 4 pub const panic = common.panic; 5 6 comptime { 7 @export(&__floatdixf, .{ .name = "__floatdixf", .linkage = common.linkage, .visibility = common.visibility }); 8 } 9 10 fn __floatdixf(a: i64) callconv(.c) f80 { 11 return floatFromInt(f80, a); 12 }