<div dir="ltr"><div>Thank You, Terry<br><br></div>George<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-12 14:50 GMT+01:00 Terry Reedy <span dir="ltr"><<a href="mailto:tjreedy@udel.edu" target="_blank">tjreedy@udel.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 1/12/2017 8:09 AM, George Fischhof wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And if it is mentioned, I would like to ask why binary floating point is<br>
"better". It is faster, I agree, but why "better"?<br>
</blockquote>
<br>
Binary numbers are more evenly spread out. Consider successive two diget numbers .99, 1.0, 1.1. The difference betweem the first two is .01 and that between the next pair is .1, 10 times as large. This remains true for .999, 1.00, 1.01 or any other fixed number of digits. For binary floats, the gap size only doubles. When I used slide rules, which have about 3 digits of accuracy, some decades ago, this defect of decimal numbers was readily apparent.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Terry Jan Reedy<br>
<br>
______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a><br>
</font></span></blockquote></div><br></div>