mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
freestanding libc: remove ceil functions
Now that they are in compiler-rt, they can be removed from here.
This commit is contained in:
parent
b7f4045184
commit
65058ebd72
1 changed files with 0 additions and 19 deletions
|
|
@ -83,10 +83,6 @@ comptime {
|
|||
@export(log10, .{ .name = "log10", .linkage = .Strong });
|
||||
@export(log10f, .{ .name = "log10f", .linkage = .Strong });
|
||||
|
||||
@export(ceil, .{ .name = "ceil", .linkage = .Strong });
|
||||
@export(ceilf, .{ .name = "ceilf", .linkage = .Strong });
|
||||
@export(ceill, .{ .name = "ceill", .linkage = .Strong });
|
||||
|
||||
@export(fmod, .{ .name = "fmod", .linkage = .Strong });
|
||||
@export(fmodf, .{ .name = "fmodf", .linkage = .Strong });
|
||||
|
||||
|
|
@ -429,21 +425,6 @@ fn log10f(a: f32) callconv(.C) f32 {
|
|||
return math.log10(a);
|
||||
}
|
||||
|
||||
fn ceilf(x: f32) callconv(.C) f32 {
|
||||
return math.ceil(x);
|
||||
}
|
||||
|
||||
fn ceil(x: f64) callconv(.C) f64 {
|
||||
return math.ceil(x);
|
||||
}
|
||||
|
||||
fn ceill(x: c_longdouble) callconv(.C) c_longdouble {
|
||||
if (!long_double_is_f128) {
|
||||
@panic("TODO implement this");
|
||||
}
|
||||
return math.ceil(x);
|
||||
}
|
||||
|
||||
fn fmodf(x: f32, y: f32) callconv(.C) f32 {
|
||||
return generic_fmod(f32, x, y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue