Просмотр исходного кода

fix exercise 82 output

zig commit bd24e66 changed the floating point formatting implementation so output for exercise 82 no longer matched
dolichomps 1 год назад
Родитель
Сommit
c8f081f3e8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      build.zig

+ 1 - 1
build.zig

@@ -939,7 +939,7 @@ const exercises = [_]Exercise{
     .{
         .main_file = "082_anonymous_structs3.zig",
         .output =
-        \\"0"(bool):true "1"(bool):false "2"(i32):42 "3"(f32):3.14159202e+00
+        \\"0"(bool):true "1"(bool):false "2"(i32):42 "3"(f32):3.141592e0
         ,
         .hint = "This one is a challenge! But you have everything you need.",
     },