package hardcaml_fixed_point

  1. Overview
  2. Docs

Module Hardcaml_fixed_point.SignedSource

Parameters

Signature

Sourcetype bits = Bits.t
Sourcemodule Round : sig ... end
Sourcemodule Overflow : sig ... end
Sourcetype t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval create : int -> bits -> t
Sourceval int : t -> bits
Sourceval frac : t -> bits
Sourceval signal : t -> bits
Sourceval map : t -> f:(bits -> bits) -> t
Sourceval width_int : t -> int
Sourceval width_frac : t -> int
Sourceval to_float : t -> float
Sourceval select_int : t -> int -> bits
Sourceval select_frac : t -> int -> bits
Sourceval select : t -> int -> int -> t
Sourceval norm : t list -> t list
Sourceval norm2 : t -> t -> t * t
Sourceval of_float : int -> int -> float -> t
Sourceval (+:) : t -> t -> t
Sourceval (-:) : t -> t -> t
Sourceval (*:) : t -> t -> t
Sourceval (==:) : t -> t -> bits
Sourceval (<>:) : t -> t -> bits
Sourceval (<:) : t -> t -> bits
Sourceval (<=:) : t -> t -> bits
Sourceval (>:) : t -> t -> bits
Sourceval (>=:) : t -> t -> bits
Sourceval mux : bits -> t list -> t
Sourceval scale_pow2 : t -> int -> t
Sourceval resize : ?round:Round.t -> ?overflow:Overflow.t -> t -> int -> int -> t