mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
12 lines
360 B
Zig
12 lines
360 B
Zig
const common = @import("./common.zig");
|
|
const extend_f80 = @import("./extendf.zig").extend_f80;
|
|
|
|
pub const panic = common.panic;
|
|
|
|
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)));
|
|
}
|