AltErgoLib.Fp_valueLiteral floating-point values.
val pp : t Fmt.tpp ppf v prints the concrete FP value v in the Alt-Ergo native format.
val pp_smtlib : eb:int -> sb:int -> t Fmt.tpp_smtlib ~eb ~sb ppf v prints the concrete FP value v of precision (eb, sb) in the SMT-LIB format.
val mk_fp_literal :
neg:bool ->
biased_exp:int ->
mantissa:Z.t ->
eb:int ->
sb:int ->
tmk_fp_literal ~neg ~biased_exp ~mantissa ~eb ~sb creates a floating-point literal where neg is the sign bit, biased_exp is the biased exponent, mantissa is the significand bits (without the hidden bit), eb is the exponent width, and sb is the significand width (including the hidden bit).
val max_finite_q : eb:int -> sb:int -> Numbers.Q.tmax_finite_q ~eb ~sb is the largest finite value of the format (eb, sb).
val min_normal_q : eb:int -> Numbers.Q.tmin_normal_q ~eb is the smallest positive normal value of the formats with eb exponent bits.
val is_normal : eb:int -> t -> boolis_normal ~eb v holds if v is a normal value of a format with eb exponent bits.
val is_subnormal : eb:int -> t -> boolis_subnormal ~eb v holds if v is a subnormal value of a format with eb exponent bits.