Bug in __imul__

Mikael Olofsson mikael at isy.liu.se
Mon Jul 16 03:36:34 EDT 2001


On 13-Jul-2001 Piet van Oostrum wrote:
 > >>>>> Roman Suzi <rnd at onego.ru> (RS) writes:
 >  
 >  RS> There is a joke about americans:
 >  
 >  RS> they were confused that Excel give different result from 
 >  RS> pocket calculator:
 >  
 >  RS> [5] [+] [3] [*] [4] [=]
 >  
 >  RS> | 32 |
 >  
 >  My pocketcalculator gives 17. But then it's a Dutch one (Philips).

In my experience, you can divide pocket calculators into two types based
on wheather they have a button labelled '%' or not. Those that do have
that button return 32, and those who do not have that button return 17.
And that's regardless of the brand.

It's up to you to decide from which bag you want to pick your pocket 
calculator.

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael               
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    16-Jul-2001
Time:    09:28:19

         /"\
         \ /     ASCII Ribbon Campaign
          X      Against HTML Mail
         / \

This message was sent by XF-Mail.
-----------------------------------------------------------------------




More information about the Python-list mailing list