Python Forum

Full Version: configuring python at build time
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
does Python have a build time option to use long double instead of just double for its float type? Pike does and it has been convenient.
I searched the configure script, and didn't see an option for it. Though it looks like it uses it automatically if your compiler supports it: https://github.com/python/cpython/blob/m...gure#L8839
the Python which i had been using had double (54 bit mantissa) instead of long double (65 bit mantissa). so it looks like 3.5.2 didn't do that, or the Ubuntu team compiled it with an antique compiler. i have 3.6.8, now. i'll get around to checking that one out, soon.