This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients ganesh3597, mark.dickinson
Date 2021-02-09.14:33:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612881227.19.0.784137434952.issue43177@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2021-02-09 14:33:47mark.dickinsonsetrecipients: + mark.dickinson, ganesh3597
2021-02-09 14:33:47mark.dickinsonsetmessageid: <1612881227.19.0.784137434952.issue43177@roundup.psfhosted.org>
2021-02-09 14:33:47mark.dickinsonlinkissue43177 messages
2021-02-09 14:33:47mark.dickinsoncreate