News for hackers. Stuff that matters.
Re:Python rounds float values by converting them to string a... by Aardwolf on Wednesday August 28, 2019 @07:54AM (#20818836)
They're using base 10 which is much slower to use here than power of 2 bases would be. Plus then also the memory management for the string.
Re:Python rounds float values by converting them to string a... by viraptor on Wednesday August 28, 2019 @08:14AM (#20818994)
The memory management will virtually never kick in. You'd need a number which expands to more than 100 characters for that to happen.