Module Pulselib.QSafeCapped
include module type of struct include Q end
type t = Q.t = {
num : Z.t;
den : Z.t;
}
val make : Z.t -> Z.t -> t
val of_int32 : int32 -> t
val of_int64 : int64 -> t
val of_nativeint : nativeint -> t
val of_ints : int -> int -> t
val of_float : float -> t
val of_string : string -> t
type kind = Q.kind =
| ZERO
| INF
| MINF
| UNDEF
| NZERO
val compare : t -> t -> int
val equal : t -> t -> bool
val to_string : t -> string
val to_float : t -> float
val mul_2exp : t -> int -> t
val div_2exp : t -> int -> t
val output : Stdlib.out_channel -> t -> unit
val sprint : unit -> t -> string
val bprint : Stdlib.Buffer.t -> t -> unit
val pp_print : Stdlib.Format.formatter -> t -> unit
val (lsl) : t -> int -> t
val (asr) : t -> int -> t
val (//) : int -> int -> t
val (///) : Z.t -> Z.t -> t
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (<>) : t -> t -> bool
val yojson_of_t : t -> Ppx_yojson_conv_lib.Yojson.Safe.t
val is_not_zero : t -> bool
val is_minus_one : t -> bool
val not_equal : t -> t -> bool
val to_int : t -> int option
val to_int32 : t -> int32 option
val to_int64 : t -> int64 option
val to_bigint : t -> Z.t option
val to_nativeint : t -> nativeint option
val is_rational : t -> bool