Mark Dickinson <dicki...@gmail.com> added the comment:
> Any plans to add it in the future? It depends - it's not really clear to me what you're asking for. If you just want to get a Python `float` from a C long double, then cast to double in the C code and then use `PyFloat_FromDouble`. Obviously that loses any extra precision that the C long double had. If you're asking for Python to grow a new type of "float" with long double precision, that's a *much* bigger ask, and realistically it's not going to happen in the forseeable future. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43177> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com