zig/lib/compiler_rt/floatundixf.zig
2025-03-05 03:01:43 +00:00

12 lines
353 B
Zig

const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
@export(&__floatundixf, .{ .name = "__floatundixf", .linkage = common.linkage, .visibility = common.visibility });
}
fn __floatundixf(a: u64) callconv(.c) f80 {
return floatFromInt(f80, a);
}