New submission from Douglas Feather <pyt...@def.me.uk>:

40.9//2 give 20.0 as a result.  I would have expected one of: 20.45 or 20.  If 
it is going to give an FP answer then it should do the division as FP and get 
the right answer.  If it is going to do an integer division then it should give 
the division as an integer.

----------
components: ctypes
messages: 357566
nosy: def
priority: normal
severity: normal
status: open
title: Float // Integer doesn't give best result.
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38929>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to