Re: True Division in Python

2006-12-06 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > For a long time,, There has been a discussion of trueFor division > versus integer division in Python. The discussion and the decision to use // and / were years ago. > I myslef prefer that / be used for integer division since al

Re: True Division in Python

2006-12-06 Thread Kleine Aap
[EMAIL PROTECTED] wrote: > Use ./ for true division. syntax error... -- http://mail.python.org/mailman/listinfo/python-list

Re: True Division in Python

2006-12-06 Thread Olexandr Melnyk
6 Dec 2006 15:41:04 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: However, today I reviewed the method to be used in Python to get true division, and this gave me an idea how true division could be implemented without interferring with the use of / for integer division. Use / for integer div

True Division in Python

2006-12-06 Thread kermit
For a long time,, There has been a discussion of trueFor division versus integer division in Python. I myslef prefer that / be used for integer division since almost always, I want the result of the division be truncated to integer. However, today I reviewed the method to be used in Python t