| ... | ... | @@ -83,10 +83,6 @@ comptime { |
| 83 | 83 | @export(log10, .{ .name = "log10", .linkage = .Strong }); |
| 84 | 84 | @export(log10f, .{ .name = "log10f", .linkage = .Strong }); |
| 85 | 85 | |
| 86 | | @export(ceil, .{ .name = "ceil", .linkage = .Strong }); |
| 87 | | @export(ceilf, .{ .name = "ceilf", .linkage = .Strong }); |
| 88 | | @export(ceill, .{ .name = "ceill", .linkage = .Strong }); |
| 89 | | |
| 90 | 86 | @export(fmod, .{ .name = "fmod", .linkage = .Strong }); |
| 91 | 87 | @export(fmodf, .{ .name = "fmodf", .linkage = .Strong }); |
| 92 | 88 | |
| ... | ... | @@ -429,21 +425,6 @@ fn log10f(a: f32) callconv(.C) f32 { |
| 429 | 425 | return math.log10(a); |
| 430 | 426 | } |
| 431 | 427 | |
| 432 | | fn ceilf(x: f32) callconv(.C) f32 { |
| 433 | | return math.ceil(x); |
| 434 | | } |
| 435 | | |
| 436 | | fn ceil(x: f64) callconv(.C) f64 { |
| 437 | | return math.ceil(x); |
| 438 | | } |
| 439 | | |
| 440 | | fn ceill(x: c_longdouble) callconv(.C) c_longdouble { |
| 441 | | if (!long_double_is_f128) { |
| 442 | | @panic("TODO implement this"); |
| 443 | | } |
| 444 | | return math.ceil(x); |
| 445 | | } |
| 446 | | |
| 447 | 428 | fn fmodf(x: f32, y: f32) callconv(.C) f32 { |
| 448 | 429 | return generic_fmod(f32, x, y); |
| 449 | 430 | } |