A use for integer quotients

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Jul 23 14:42:23 EDT 2001


23 Jul 2001 17:00:01 GMT, Tim Daneliuk <tundra at tundraware.com> pisze:

> - This is not "incorrect" arithmetic.  *It is 3/4 == .75 that is incorrect*
>   because the precision of the result exceeds the precision of the operands.

It doesn't exceed if the result is a rational. Operands and the result
are all exact here.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list