Differences

This shows you the differences between two versions of the page.

Link to this comparison view

std:bit [2023/04/08 12:17]
rajit created
std:bit [2023/04/08 12:19] (current)
rajit
Line 1: Line 1:
-====== Bit-manipulation Functions ======+====== Namespace std::bit  ====== 
 + 
 +This namespace contains bit-manipulation functions that can make the ACT description more legible. 
 + 
 +<code act> 
 +export template<pint N, W> function repeat(int<W> x) : int<N*W>; 
 +</code> 
 +This concatenates ''N'' copies of the ''W''-bit input ''x'' to create an output of width ''N*W''
 +