divdc3.zig (434B) - Raw
1 const common = @import("./common.zig"); 2 const divc3 = @import("./divc3.zig"); 3 const Complex = @import("./mulc3.zig").Complex; 4 5 comptime { 6 if (@import("builtin").zig_backend != .stage2_c) { 7 @export(&__divdc3, .{ .name = "__divdc3", .linkage = common.linkage, .visibility = common.visibility }); 8 } 9 } 10 11 pub fn __divdc3(a: f64, b: f64, c: f64, d: f64) callconv(.c) Complex(f64) { 12 return divc3.divc3(f64, a, b, c, d); 13 }