zig/lib/compiler_rt/muldc3.zig
Andrew Kelley 04c180c8e5 compiler_rt: partial cleanup
introduce `symbol` helper function and partially migrate to using it
2026-02-09 20:04:17 +01:00

12 lines
331 B
Zig

const mulc3 = @import("./mulc3.zig");
const symbol = @import("../compiler_rt.zig").symbol;
comptime {
if (@import("builtin").zig_backend != .stage2_c) {
symbol(&__muldc3, "__muldc3");
}
}
pub fn __muldc3(a: f64, b: f64, c: f64, d: f64) callconv(.c) mulc3.Complex(f64) {
return mulc3.mulc3(f64, a, b, c, d);
}