aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/divxc3.zig
blob: 6e5f7905dd63654f2d9d42fd74230614154ae46a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
const common = @import("./common.zig");
const divc3 = @import("./divc3.zig");
const Complex = @import("./mulc3.zig").Complex;

comptime {
    if (@import("builtin").zig_backend != .stage2_c) {
        @export(&__divxc3, .{ .name = "__divxc3", .linkage = common.linkage, .visibility = common.visibility });
    }
}

pub fn __divxc3(a: f80, b: f80, c: f80, d: f80) callconv(.c) Complex(f80) {
    return divc3.divc3(f80, a, b, c, d);
}