truncxfsf2.zig (333B) - Raw
1 const common = @import("./common.zig"); 2 const trunc_f80 = @import("./truncf.zig").trunc_f80; 3 4 pub const panic = common.panic; 5 6 comptime { 7 @export(&__truncxfsf2, .{ .name = "__truncxfsf2", .linkage = common.linkage, .visibility = common.visibility }); 8 } 9 10 fn __truncxfsf2(a: f80) callconv(.c) f32 { 11 return trunc_f80(f32, a); 12 }