[issue19446] Integer division for negative numbers

2013-10-30 Thread Nitin Kumar
Nitin Kumar added the comment: Hi Georg, Is there any operator for integer division in python? On Wed, Oct 30, 2013 at 1:00 PM, Georg Brandl wrote: > > Georg Brandl added the comment: > > Hi Nitin, > > "a // b" is defined as the floor division operation, same

[issue19446] Integer division for negative numbers

2013-10-30 Thread Nitin Kumar
Changes by Nitin Kumar : Added file: http://bugs.python.org/file32421/Integer_division.py ___ Python tracker <http://bugs.python.org/issue19446> ___ ___ Python-bugs-list m

[issue19446] Integer division for negative numbers

2013-10-30 Thread Nitin Kumar
Changes by Nitin Kumar : Removed file: http://bugs.python.org/file32420/Integer_division.py ___ Python tracker <http://bugs.python.org/issue19446> ___ ___ Python-bug

[issue19446] Integer division for negative numbers

2013-10-30 Thread Nitin Kumar
New submission from Nitin Kumar: Mathematically python is not giving correct output for integer division for negative number, e.g. : -7//2= -3 but python is giving output -4. -- components: IDLE files: Integer_division.py messages: 201715 nosy: Nitin.Kumar priority: normal severity