blob: c730ada7e048f1261d63a8d558f063d7b7b41f46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
const common = @import("./common.zig");
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(__aeabi_dneg, .{ .name = "__aeabi_dneg", .linkage = common.linkage });
} else {
@export(__negdf2, .{ .name = "__negdf2", .linkage = common.linkage });
}
}
fn __negdf2(a: f64) callconv(.C) f64 {
return common.fneg(a);
}
fn __aeabi_dneg(a: f64) callconv(.AAPCS) f64 {
return common.fneg(a);
}
|