2022-10-09 01:13:16 +01: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 03:49:36 +01:00
|
|
|
@export(&__divsc3, .{ .name = "__divsc3", .linkage = common.linkage, .visibility = common.visibility });
|
2022-12-07 12:54:29 +00:00
|
|
|
}
|
2022-10-09 01:13:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
pub fn __divsc3(a: f32, b: f32, c: f32, d: f32) callconv(.C) Complex(f32) {
|
|
|
|
return divc3.divc3(f32, a, b, c, d);
|
|
|
|
}
|