| ... | ... | @@ -5179,7 +5179,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 5179 | 5179 | <pre>{#syntax#}@mod(numerator: T, denominator: T) T{#endsyntax#}</pre> |
| 5180 | 5180 | <p> |
| 5181 | 5181 | Modulus division. For unsigned integers this is the same as |
| 5182 | | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator > 0{#endsyntax#}, otherwise the |
| 5182 | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator != 0{#endsyntax#}, otherwise the |
| 5183 | 5183 | operation will result in a {#link|Remainder Division by Zero#} when runtime safety checks are enabled. |
| 5184 | 5184 | </p> |
| 5185 | 5185 | <ul> |
| ... | ... | @@ -5284,7 +5284,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 5284 | 5284 | <pre>{#syntax#}@rem(numerator: T, denominator: T) T{#endsyntax#}</pre> |
| 5285 | 5285 | <p> |
| 5286 | 5286 | Remainder division. For unsigned integers this is the same as |
| 5287 | | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator > 0{#endsyntax#}, otherwise the |
| 5287 | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator != 0{#endsyntax#}, otherwise the |
| 5288 | 5288 | operation will result in a {#link|Remainder Division by Zero#} when runtime safety checks are enabled. |
| 5289 | 5289 | </p> |
| 5290 | 5290 | <ul> |