package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b
doc/coq-core.kernel/Float64_common/index.html
Module Float64_common
Source
t
is currently implemented by OCaml's float
type.
Beware: NaNs have a sign and a payload, while they should be indistinguishable from Coq's perspective.
Print a float exactly as an hexadecimal value (exact decimal * printing would be possible but sometimes requires more than 700 * digits).
Print a float as a decimal value. The printing is not exact (the * real value printed is not always the given floating-point value), * however printing is precise enough that forall float f
, * of_string (to_decimal_string f) = f
.
The IEEE 754 float comparison. * NotComparable is returned if there is a NaN in the arguments
Shifted exponent extraction
Return true if two floats are equal. * All NaN values are considered equal.
Total order relation over float values. Behaves like Pervasives.compare
.