Hey, what a great idea! We should do this too. :-)
I believe that the Python license is sufficient flexible that we can
Steal This Code! if anybody wants to work on it.
P.S. If I set up the subject correctly, this should appear on the
tracker shortly.
Nick Coghlan writes:
On 2 December 2013 11:45, Mark Lawrence
<breamoreboy(a)yahoo.co.uk> wrote:
> The newbie says it should be 4.5 but gets 4.499999999999999999999 so raises
> issue on bug tracker stating that Python can't do arithmetic properly.
>
> In [5]: 9/2
> Out[5]: 4.5
>
> Blast, lousy example :)
Getting a modern Python to fall into that trap at all is actually
quite difficult - the way str.__repr__ works was changed a while ago
to favour the nearest terminating approximation that is represented
using the same IEEE754 bit pattern :)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta