zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

divxc3.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(&__divxc3, .{ .name = "__divxc3", .linkage = common.linkage, .visibility = common.visibility });
      8     }
      9 }
     10 
     11 pub fn __divxc3(a: f80, b: f80, c: f80, d: f80) callconv(.c) Complex(f80) {
     12     return divc3.divc3(f80, a, b, c, d);
     13 }