Floating-point numbers
Requires special terms (
Most programming languages pretend that floating-point numbers are equivalent to real numbers, and in particular a superset of the integers. They thus convert integers to floating-point numbers automatically when useful. This is the cause of many problems because the floating-point numbers are really a subset of the rational numbers that is distinct from, but has an overlap with, the integers.
In Leibniz, floating-point numbers are completely separate from the integer - rational number - real number categories. There is no automatic conversion in either direction at any time.
The sort for IEEE-754 double-precision binary floating-point number is
-
-
-
The current implementation of Leibniz does not contain other precisions, nor IEEE decimal floating-point numbers.