zig/lib/compiler_rt/extendsfxf2.zig
2026-01-04 00:27:08 -08:00

10 lines
327 B
Zig

const common = @import("./common.zig");
const extend_f80 = @import("./extendf.zig").extend_f80;
comptime {
@export(&__extendsfxf2, .{ .name = "__extendsfxf2", .linkage = common.linkage, .visibility = common.visibility });
}
fn __extendsfxf2(a: f32) callconv(.c) f80 {
return extend_f80(f32, @as(u32, @bitCast(a)));
}