[issue20095] what is that result!?

Mark Dickinson report at bugs.python.org
Tue Dec 31 16:42:59 CET 2013


Mark Dickinson added the comment:

> can you add an approximation of the result in the command?

I don't really understand what you're asking here.

If you're asking for the behaviour of multiplication to change so that it becomes more do-what-I-mean-ish, that's not going to happen.  You could try writing your own DWIM-style multiplication if that's what you want, but the basic multiplication operator should stay as it is now: a simple wrapper around the C multiplication, which on most machines has a simple, easily-stated and well-defined behaviour: return me the floating-point number that's closest to the exact mathematical result of the multiplication.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20095>
_______________________________________


More information about the Python-bugs-list mailing list