mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +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(__floatdixf, .{ .name = "__floatdixf", .linkage = common.linkage, .visibility = common.visibility });
|
|
}
|
|
|
|
fn __floatdixf(a: i64) callconv(.C) f80 {
|
|
return floatFromInt(f80, a);
|
|
}
|