Commit cf98dfbe22

LemonBoy <thatlemon@gmail.com>
2021-04-24 20:35:04
Remove translate-c test using long double literal
Removed until the rendering logic is adapted to deal with 80bit (and bigger) floats, those are used sparingly in the wild so it's not much of a loss.
1 parent 7c3896e
Changed files (1)
test/translate_c.zig
@@ -3028,7 +3028,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\void call() {
         \\    fn_int(3.0f);
         \\    fn_int(3.0);
-        \\    fn_int(3.0L);
         \\    fn_int('ABCD');
         \\    fn_f32(3);
         \\    fn_f64(3);
@@ -3053,7 +3052,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
         \\pub export fn call() void {
         \\    fn_int(@floatToInt(c_int, 3.0));
         \\    fn_int(@floatToInt(c_int, 3.0));
-        \\    fn_int(@floatToInt(c_int, 3.0));
         \\    fn_int(@as(c_int, 1094861636));
         \\    fn_f32(@intToFloat(f32, @as(c_int, 3)));
         \\    fn_f64(@intToFloat(f64, @as(c_int, 3)));