authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2021-04-24 20:35:04+02:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2021-04-24 20:35:04+02:00
logcf98dfbe22548728f247c314e3119c5a5dfceac5
treec4193fba72816a9a226a5bf91a84b0d7360804b4
parent7c3896e6cd20a51e63a018fd2e05ea3c552b7401

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 files changed, 0 insertions(+), 2 deletions(-)

test/translate_c.zig-2
...@@ -3028,7 +3028,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void {...@@ -3028,7 +3028,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
3028 \\void call() {3028 \\void call() {
3029 \\ fn_int(3.0f);3029 \\ fn_int(3.0f);
3030 \\ fn_int(3.0);3030 \\ fn_int(3.0);
3031 \\ fn_int(3.0L);
3032 \\ fn_int('ABCD');3031 \\ fn_int('ABCD');
3033 \\ fn_f32(3);3032 \\ fn_f32(3);
3034 \\ fn_f64(3);3033 \\ fn_f64(3);
...@@ -3053,7 +3052,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void {...@@ -3053,7 +3052,6 @@ pub fn addCases(cases: *tests.TranslateCContext) void {
3053 \\pub export fn call() void {3052 \\pub export fn call() void {
3054 \\ fn_int(@floatToInt(c_int, 3.0));3053 \\ fn_int(@floatToInt(c_int, 3.0));
3055 \\ fn_int(@floatToInt(c_int, 3.0));3054 \\ fn_int(@floatToInt(c_int, 3.0));
3056 \\ fn_int(@floatToInt(c_int, 3.0));
3057 \\ fn_int(@as(c_int, 1094861636));3055 \\ fn_int(@as(c_int, 1094861636));
3058 \\ fn_f32(@intToFloat(f32, @as(c_int, 3)));3056 \\ fn_f32(@intToFloat(f32, @as(c_int, 3)));
3059 \\ fn_f64(@intToFloat(f64, @as(c_int, 3)));3057 \\ fn_f64(@intToFloat(f64, @as(c_int, 3)));