Strange behaviour with numbers in exponential notation

Marco Sulla marco.sulla.python.mailing at gmail.com
Fri Sep 2 20:31:50 EDT 2016


On 2 September 2016 at 21:12, Christian Gollwitzer <auriocus at gmx.de> wrote:
> Am 02.09.16 um 19:24 schrieb Marco Sulla:
> Because Python has no long double type?

Python no of course, but C++ yes, and CPython is written in C++.
However, I think the answer is here:
https://en.wikipedia.org/wiki/Long_double#Implementations
Briefly, long double is not implemented in all hardwares, or its
implementation is really different from machine to machine. I suppose
this is why long double is not supported.



More information about the Python-list mailing list