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

pub const panic = common.panic;

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

pub fn __muldc3(a: f64, b: f64, c: f64, d: f64) callconv(.c) mulc3.Complex(f64) {
    return mulc3.mulc3(f64, a, b, c, d);
}