| ... | ... | @@ -4522,9 +4522,7 @@ comptime { |
| 4522 | 4522 | Counts the number of most-significant (leading in a big-endian sense) zeroes in an integer - "count leading zeroes". |
| 4523 | 4523 | </p> |
| 4524 | 4524 | <p> |
| 4525 | | If {#syntax#}operand{#endsyntax#} is a {#link|comptime#}-known integer, |
| 4526 | | the return type is {#syntax#}comptime_int{#endsyntax#}. |
| 4527 | | Otherwise, the return type is an unsigned integer or vector of unsigned integers with the minimum number |
| 4525 | The return type is an unsigned integer or vector of unsigned integers with the minimum number |
| 4528 | 4526 | of bits that can represent the bit count of the integer type. |
| 4529 | 4527 | </p> |
| 4530 | 4528 | <p> |
| ... | ... | @@ -4635,9 +4633,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 4635 | 4633 | Counts the number of least-significant (trailing in a big-endian sense) zeroes in an integer - "count trailing zeroes". |
| 4636 | 4634 | </p> |
| 4637 | 4635 | <p> |
| 4638 | | If {#syntax#}operand{#endsyntax#} is a {#link|comptime#}-known integer, |
| 4639 | | the return type is {#syntax#}comptime_int{#endsyntax#}. |
| 4640 | | Otherwise, the return type is an unsigned integer or vector of unsigned integers with the minimum number |
| 4636 | The return type is an unsigned integer or vector of unsigned integers with the minimum number |
| 4641 | 4637 | of bits that can represent the bit count of the integer type. |
| 4642 | 4638 | </p> |
| 4643 | 4639 | <p> |
| ... | ... | @@ -5176,9 +5172,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 5176 | 5172 | Counts the number of bits set in an integer - "population count". |
| 5177 | 5173 | </p> |
| 5178 | 5174 | <p> |
| 5179 | | If {#syntax#}operand{#endsyntax#} is a {#link|comptime#}-known integer, |
| 5180 | | the return type is {#syntax#}comptime_int{#endsyntax#}. |
| 5181 | | Otherwise, the return type is an unsigned integer or vector of unsigned integers with the minimum number |
| 5175 | The return type is an unsigned integer or vector of unsigned integers with the minimum number |
| 5182 | 5176 | of bits that can represent the bit count of the integer type. |
| 5183 | 5177 | </p> |
| 5184 | 5178 | {#see_also|@ctz|@clz#} |