Python can't divide??!?!

John Hunter jdhunter at
Thu Feb 5 18:46:00 CET 2004

>>>>> "Dan" == Dan Williams <dan at> writes:

    Dan> That's just an example. Python cannot divide. Period. 

True, but that's not surprising.

  Possibility 1: You have discovered a math bug in a programming
    language used by tens of thousands of mathematicians, engineers,
    programmers and scientists from around the world for over a

  Possibility 2: There is something you don't understand about
    floating point operations.

Search google groups for:

  floating point binary group:*python*

See especially the thread

 Python doesn't know how to do math?


More information about the Python-list mailing list