package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2
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
.