Frama-C API - Precisions
We handle the format defined in C. The Real constructor represents the precision of the floats used as real
val pretty : Stdlib.Format.formatter -> t -> unitval of_fkind : Frama_c_kernel.Cil_types.fkind -> tReturns the precision associated to the Cil construction fkind, which represents the C floating point type
val get : t -> intReturns the number of bits of the significand of the given precision, counting the implicit one. This size is fixed by the option -eva-numerors-real-size for the Real precision.
val exponent : t -> intReturns the number of bits of the exponent of the given precision. The exponent of the Real precision is set to max int arbitrally.
val denormalized : t -> intReturns the integer corresponding to the exponent of the denormalized numbers of the given precision. The value 2^denormalized is the smallest denormalized number of the precision and is also the gap between two denormalized numbers. The returned integer is negative. For the Real precision, this integer is arbitrally set to min int.
