[Python-ideas] Python Numbers as Human Concept Decimal System

Steven D'Aprano steve at pearwood.info
Fri Mar 7 11:16:22 CET 2014


On Fri, Mar 07, 2014 at 05:11:21PM +1100, Steven D'Aprano wrote:
[...]
> there is *absolutely no reason to think* that the decimal number 2.01 
> will be more accurate than the binary number 
> 10.101000111101011100001010001111010111000010100, or for that matter, 
> the base-7 number 2.0462046204620462. The difference between those three 
> representations is usually minor compared to the actual measurement 
> errors of the initial data and the rounding errors from the calculation.

Er, apparently I cannot convert fractions into base 7 even using Python. 
That should be 2.003300330033 in base 7. The number I gave was actually 
2.1.


-- 
Steven


More information about the Python-ideas mailing list