Module Field_ops_lib.Naf

Internal module to represent constants in Non Adjacent Form

module Bit : sig ... end
type t
val sexp_of_t : t -> Sexplib0.Sexp.t
val width : t -> int
val of_bits : Hardcaml.Bits.t -> t
val to_bits : t -> Hardcaml.Bits.t
val bits_lsb : t -> Bit.t list
val hamming_weight : t -> int