2022-10-09 00:13:16 +00:00
|
|
|
const common = @import("./common.zig");
|
|
|
|
const divc3 = @import("./divc3.zig");
|
|
|
|
const Complex = @import("./mulc3.zig").Complex;
|
|
|
|
|
|
|
|
comptime {
|
2022-12-07 12:54:29 +00:00
|
|
|
if (@import("builtin").zig_backend != .stage2_c) {
|
2024-08-26 02:49:36 +00:00
|
|
|
@export(&__divxc3, .{ .name = "__divxc3", .linkage = common.linkage, .visibility = common.visibility });
|
2022-12-07 12:54:29 +00:00
|
|
|
}
|
2022-10-09 00:13:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pub fn __divxc3(a: f80, b: f80, c: f80, d: f80) callconv(.C) Complex(f80) {
|
|
|
|
return divc3.divc3(f80, a, b, c, d);
|
|
|
|
}
|