[issue43177] How to use `long double` as a PyObject?
Ganesh Kathiresan
report at bugs.python.org
Tue Feb 9 09:39:24 EST 2021
Ganesh Kathiresan <ganesh3597 at gmail.com> added the comment:
Oh I see. Yeah my ask is particularly around support for long double precision in python. What I am trying to do is essentially attempt to speed up the comparison of NumPy scalars: https://github.com/numpy/numpy/pull/17970.
We have support for float128 in NumPy, but when I was trying to cast it to a C variable, was having a hard time doing so without losing precision.
Please feel free to close the issue, hopefully will see long double support sometime in the future.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43177>
_______________________________________
More information about the Python-bugs-list
mailing list