aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/floatdixf.zig
blob: ccd5e5bd4d3e3c2fdd25988de6808af67454245b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;

pub const panic = common.panic;

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

fn __floatdixf(a: i64) callconv(.C) f80 {
    return floatFromInt(f80, a);
}