| ... | @@ -1459,7 +1459,15 @@ a >>= b{#endsyntax#}</pre></td> | ... | @@ -1459,7 +1459,15 @@ a >>= b{#endsyntax#}</pre></td> |
| 1459 | </td> | 1459 | </td> |
| 1460 | <td> | 1460 | <td> |
| 1461 | <ul> | 1461 | <ul> |
| 1462 | <li>Moves all bits to the right, inserting zeroes at the most-significant bit.</li> | 1462 | <li>When LHS is unsigned, performs a <strong>logical |
| | 1463 | shift</strong>, moving all bits to the right, inserting zeroes at |
| | 1464 | the most-significant bit.</li> |
| | 1465 | |
| | 1466 | <li>When LHS is signed, performs an <strong>arithmetic |
| | 1467 | shift</strong>, moving all bits to the right, inserting ones at |
| | 1468 | the most-significant bit if and only if the most significant bit |
| | 1469 | is one.</li> |
| | 1470 | |
| 1463 | <li>{#syntax#}b{#endsyntax#} must be | 1471 | <li>{#syntax#}b{#endsyntax#} must be |
| 1464 | {#link|comptime-known|comptime#} or have a type with log2 number | 1472 | {#link|comptime-known|comptime#} or have a type with log2 number |
| 1465 | of bits as {#syntax#}a{#endsyntax#}.</li> | 1473 | of bits as {#syntax#}a{#endsyntax#}.</li> |