Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

To get 20.45 use the true division operator /.

If float // int would return int, 1e300 // 2 would return a 300-digit integer. 
It takee more memory and its creation is slower than 5e299. In addition it does 
not make sense to provide such precision.

----------
nosy: +mark.dickinson, serhiy.storchaka, tim.peters

_______________________________________
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