diff options
| author | David Hain <[email protected]> | 2024-05-04 18:51:00 +0200 |
|---|---|---|
| committer | David Hain <[email protected]> | 2024-05-04 18:51:00 +0200 |
| commit | 4dbd056100c8a7a965e189b2670264a331a544ff (patch) | |
| tree | 968761774d0c405cac2ee69786a75fbc8fc989e0 /exercises | |
| parent | 9ce4a7d6f0a231f1fc75ebc9338dcf23a5de0c35 (diff) | |
| download | ziglings-4dbd056100c8a7a965e189b2670264a331a544ff.tar.xz ziglings-4dbd056100c8a7a965e189b2670264a331a544ff.zip | |
fix: typo: % instead of @ for a builtin function
Diffstat (limited to 'exercises')
| -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", |
