Insert space for additional async exercises

This commit is contained in:
Chris Boesch
2026-04-03 13:35:56 +02:00
parent ffde357f30
commit e0259f43a7
47 changed files with 156 additions and 106 deletions
+13
View File
@@ -0,0 +1,13 @@
--- exercises/112_vectors.zig 2025-08-15 15:17:57.840348083 +0200
+++ answers/112_vectors.zig 2026-04-02 10:51:15.819831812 +0200
@@ -121,8 +121,8 @@
const Vec4 = @Vector(4, f32);
fn calcMaxPairwiseDiffNew(a: Vec4, b: Vec4) f32 {
- const abs_diff_vec = ???;
- const max_diff = @reduce(???, abs_diff_vec);
+ const abs_diff_vec = @abs(a - b);
+ const max_diff = @reduce(.Max, abs_diff_vec);
return max_diff;
}