A bitvector of the specified width.
This is represented as the underlying Nat
number in both the runtime
and the kernel, inheriting all the special support for Nat
.
Constructor
BitVec.ofFin
Fields
toFin : Fin (2 ^ w)
Interpret a bitvector as a number less than 2^w
.
O(1), because we use Fin
as the internal representation of a bitvector.