Message386718
> 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. |
|
Date |
User |
Action |
Args |
2021-02-09 14:33:47 | mark.dickinson | set | recipients:
+ mark.dickinson, ganesh3597 |
2021-02-09 14:33:47 | mark.dickinson | set | messageid: <1612881227.19.0.784137434952.issue43177@roundup.psfhosted.org> |
2021-02-09 14:33:47 | mark.dickinson | link | issue43177 messages |
2021-02-09 14:33:47 | mark.dickinson | create | |
|