Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| std:bit [2023/04/08 16:17] – created rajit | std:bit [2025/09/16 14:32] (current) – rajit | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | |||
| + | This namespace contains bit-manipulation functions that can make the ACT description more legible. | ||
| + | |||
| + | <code act> | ||
| + | export template< | ||
| + | </ | ||
| + | This concatenates '' | ||
| + | |||
| + | |||
| + | <code act> | ||
| + | export template< | ||
| + | </ | ||
| + | This sign-extends the integer '' | ||
| + | |||
| + | |||
| + | <code act> | ||
| + | export template< | ||
| + | </ | ||
| + | Left rotate the '' | ||
| + | |||
| + | <code act> | ||
| + | export template< | ||
| + | </ | ||
| + | Right rotate '' | ||
| + | |||
| + | <code act> | ||
| + | export template< | ||
| + | </ | ||
| + | This function assumes that '' | ||
| + | |||
| + | <code act> | ||
| + | export template< | ||
| + | </ | ||
| + | This function returns a count of the number of bits of '' | ||
| + | |||
| + | |||