aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/truncxfsf2.zig
blob: 136e941af42543bc9926789f1e3f9d4fb58f405c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const common = @import("./common.zig");
const trunc_f80 = @import("./truncf.zig").trunc_f80;

pub const panic = common.panic;

comptime {
    @export(&__truncxfsf2, .{ .name = "__truncxfsf2", .linkage = common.linkage, .visibility = common.visibility });
}

fn __truncxfsf2(a: f80) callconv(.c) f32 {
    return trunc_f80(f32, a);
}