Documentation

Batteries.Data.BitVec.Basic

@[inline]
def BitVec.ofFnLEAux {n : Nat} (m : Nat) (f : Fin nBool) :

ofFnLEAux f returns the BitVec m whose ith bit is f i when i < m, little endian.

Equations
Instances For
    @[inline]
    def BitVec.ofFnLE {n : Nat} (f : Fin nBool) :

    ofFnLE f returns the BitVec n whose ith bit is f i with little endian ordering.

    Equations
    Instances For
      @[inline]
      def BitVec.ofFnBE {n : Nat} (f : Fin nBool) :

      ofFnBE f returns the BitVec n whose ith bit is f i with big endian ordering.

      Equations
      Instances For