mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
12 lines
356 B
Zig
12 lines
356 B
Zig
const common = @import("./common.zig");
|
|
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
|
|
|
|
pub const panic = common.panic;
|
|
|
|
comptime {
|
|
@export(__floatunsihf, .{ .name = "__floatunsihf", .linkage = common.linkage, .visibility = common.visibility });
|
|
}
|
|
|
|
pub fn __floatunsihf(a: u32) callconv(.C) f16 {
|
|
return floatFromInt(f16, a);
|
|
}
|