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