[PD] Some more float weirdness/fun

Mathieu Bouchard matju at artengine.ca
Fri Mar 9 18:53:24 CET 2012


Le 2012-03-09 à 09:39:00, Charles Henry a écrit :
> Martin a écrit :
>> For any floatX unless X is infinity the number of floats that are not
>> exactly represented is always infinite.

For a floatX format where X is the number of bits, every float is exact 
and there are at most pow(2,X) floats.

You mean that there are an infinity of numbers that round to a finite 
number of floats.

> There is a countably infinite number of rational numbers and a 
> uncountably infinite number of irrational numbers that cannot be 
> represented.



More information about the Pd-list mailing list