diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-05-04 22:34:11 +0000 |
---|---|---|
committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2024-05-04 22:34:11 +0000 |
commit | 27db3112f943c851959a2257f8e2c58c6dddf8ab (patch) | |
tree | 968761774d0c405cac2ee69786a75fbc8fc989e0 | |
parent | 9ce4a7d6f0a231f1fc75ebc9338dcf23a5de0c35 (diff) | |
parent | 4dbd056100c8a7a965e189b2670264a331a544ff (diff) |
Merge pull request 'fix: typo: % instead of @ for a builtin function' (#85) from d-hain/ziglings-exercises:094_c_math-typo-fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/85
-rw-r--r-- | exercises/094_c_math.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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", |