mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
50339f595a
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
13 lines
346 B
Zig
13 lines
346 B
Zig
const common = @import("./common.zig");
|
|
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
|
|
|
|
pub const panic = common.panic;
|
|
|
|
comptime {
|
|
@export(__floatsihf, .{ .name = "__floatsihf", .linkage = common.linkage, .visibility = common.visibility });
|
|
}
|
|
|
|
fn __floatsihf(a: i32) callconv(.C) f16 {
|
|
return floatFromInt(f16, a);
|
|
}
|