zig/lib/compiler_rt/floatundixf.zig
Eric Joldasov 50339f595a all: zig fmt and rename "@XToY" to "@YFromX"
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-19 12:34:42 -07:00

13 lines
352 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);
}