@dos @radostin04 @b0rk Python also has an exact Fraction data type. Of course, this is useless for irrational numbers, but unlike floating point, the gaps are always infinitesimal. And since Python supports arbitrarily large integers natively, this means that, in theory, you can represent any real number to any degree of precision. (The only constraints are memory and processing time.)

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml