Mark Fink wrote:
> one minor issue is still left:
> correct me if I am wrong: result of 2/-3 is 0 (at least this is how it
> is defined in the testcase)
> In Jython 2.1.3:
> 
>>>>2/-3
> 
> -1

CPython gives the same result and the language reference says, "Plain or 
long integer division yields an integer of the same type; the result is 
that of mathematical division with the `floor' function applied to the 
result." so this seems to be intentional.

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to