[Gambas-user] Infinities and division
jussi.lahtinen at gmail.com
Tue Nov 29 23:31:02 CET 2022
> Mathematically, from the "Infinite Hotel" story,
> infinity <> infinity.
No, in Hilbert's hotel there is only one sized infinity (countably infinite
set, example natural numbers and integers).
It just demonstrates the counterintuitive property of it. However there
are different sizes of infinity, for example the set of real numbers is
uncountably infinite. IE set of integers and set of real numbers are
different in size, but set of integers and set of natural numbers are the
But, in Gambas
> +Inf = +Inf
> should be true as +Inf is not really "infinity", It's a constant
> representing "a very big number". Otherwise, the constant is generally
Yes, that is true as it is the same constant in both sides of the equation.
However that does not correspond to the mathematical concept (it's not a
number) of infinity.
And it should not be used in arithmetics, only for some conditionals if at
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User