Namespace std::bit
This namespace contains bit-manipulation functions that can make the ACT description more legible.
export template<pint N, W> function repeat(int<W> x) : int<N*W>;
This concatenates N
copies of the W
-bit input x
to create an output of width N*W
.