From 4dbd056100c8a7a965e189b2670264a331a544ff Mon Sep 17 00:00:00 2001 From: David Hain Date: Sat, 4 May 2024 18:51:00 +0200 Subject: [PATCH] fix: typo: % instead of @ for a builtin function --- exercises/094_c_math.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/094_c_math.zig b/exercises/094_c_math.zig index 61e2c7b..ec59a86 100644 --- a/exercises/094_c_math.zig +++ b/exercises/094_c_math.zig @@ -13,7 +13,7 @@ // How could we do that? A good method is to use the modulo function. // But if we write "765.2 % 360", it only works with float values // that are known at compile time. -// In Zig, we would use %mod(a, b) instead. +// In Zig, we would use @mod(a, b) instead. // // Let us now assume that we cannot do this in Zig, but only with // a C function from the standard library. In the library "math",