mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
13 lines
299 B
Zig
13 lines
299 B
Zig
|
const common = @import("./common.zig");
|
||
|
const floatToInt = @import("./float_to_int.zig").floatToInt;
|
||
|
|
||
|
pub const panic = common.panic;
|
||
|
|
||
|
comptime {
|
||
|
@export(__fixxfsi, .{ .name = "__fixxfsi", .linkage = common.linkage });
|
||
|
}
|
||
|
|
||
|
fn __fixxfsi(a: f80) callconv(.C) i32 {
|
||
|
return floatToInt(i32, a);
|
||
|
}
|