mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 04:44:47 +01:00
10 lines
266 B
Zig
10 lines
266 B
Zig
const symbol = @import("../compiler_rt.zig").symbol;
|
|
const extend_f80 = @import("./extendf.zig").extend_f80;
|
|
|
|
comptime {
|
|
symbol(&__extendsfxf2, "__extendsfxf2");
|
|
}
|
|
|
|
fn __extendsfxf2(a: f32) callconv(.c) f80 {
|
|
return extend_f80(f32, @as(u32, @bitCast(a)));
|
|
}
|