Hacker News new | ask | show | jobs
by pantulis 2027 days ago
I guess the fact would be something like: "There are as many floats in [0,1] as integers in [1, infty]".

Probably you will have problems mixing operations between numbers too close to infinity with numbers too close to zero. But if you are working with floats you are probably going to shoot yourself in the foot anyway unless you understand IEEE floating point arithmetic, precisions and so on, so better stick to Decimals and BigDecimals if you can.