[New-bugs-announce] [issue43177] How to use `long double` as a PyObject?

Ganesh Kathiresan report at bugs.python.org
Tue Feb 9 03:40:00 EST 2021

New submission from Ganesh Kathiresan <ganesh3597 at gmail.com>:

I wanted to know if there is a way to parse and store c `long double`. I only found `PyFloat_FromDouble` and in the same page, `PyFloat_GetMax` returns: 
> Return the maximum representable finite float DBL_MAX as C double.

Meaning, there is no scope of `long double`. Can you please tell me how I can do something like `PyFloat_FromLongDouble`

components: ctypes
messages: 386698
nosy: ganesh3597
priority: normal
severity: normal
status: open
title: How to use `long double` as a PyObject?
type: enhancement
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list