In the two CERT-C ports of guidelines relating to Shifts over integer types, the table conversion from the original Markdown to Sphinx / RST didn't work well.
The PRs have since been fixed by hand. Regardless, here are the two pairs of issues and PRs that I'm talking about:
| **Compilation Mode** | **`0 <= M < N`** | **`M < 0`** | **`N <= M`** |
|:--------------------:|:----------------:|:---------------------:|:-------------------:|
| Debug | Shifts normally | Panics | Panics |
| Release | Shifts normally | Shifts by `M mod N` | Shifts by `M mod N` |
In the two CERT-C ports of guidelines relating to Shifts over integer types, the table conversion from the original Markdown to Sphinx / RST didn't work well.
The PRs have since been fixed by hand. Regardless, here are the two pairs of issues and PRs that I'm talking about:
And here's an illustration of how the table looked in the original text:
CC @x0rw lemme know if there's something I can do to start improving the table conversion (maybe we can use another conversion library?)