gexf2.zig (531B) - Raw
1 const common = @import("./common.zig"); 2 const comparef = @import("./comparef.zig"); 3 4 pub const panic = common.panic; 5 6 comptime { 7 @export(&__gexf2, .{ .name = "__gexf2", .linkage = common.linkage, .visibility = common.visibility }); 8 @export(&__gtxf2, .{ .name = "__gtxf2", .linkage = common.linkage, .visibility = common.visibility }); 9 } 10 11 fn __gexf2(a: f80, b: f80) callconv(.c) i32 { 12 return @intFromEnum(comparef.cmp_f80(comparef.GE, a, b)); 13 } 14 15 fn __gtxf2(a: f80, b: f80) callconv(.c) i32 { 16 return __gexf2(a, b); 17 }