Searched refs:pyfloat (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Doc/c-api/ |
D | float.rst | 45 .. c:function:: double PyFloat_AsDouble(PyObject *pyfloat) 47 Return a C :c:expr:`double` representation of the contents of *pyfloat*. If 48 *pyfloat* is not a Python floating-point object but has a :meth:`~object.__float__` 49 method, this method will first be called to convert *pyfloat* into a float. 58 .. c:function:: double PyFloat_AS_DOUBLE(PyObject *pyfloat) 60 Return a C :c:expr:`double` representation of the contents of *pyfloat*, but
|
/external/python/cpython3/Modules/ |
D | arraymodule.c | 2122 PyObject *pyfloat = PyFloat_FromDouble( in array__array_reconstructor_impl() local 2124 if (pyfloat == NULL) { in array__array_reconstructor_impl() 2128 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl() 2143 PyObject *pyfloat = PyFloat_FromDouble( in array__array_reconstructor_impl() local 2145 if (pyfloat == NULL) { in array__array_reconstructor_impl() 2149 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl()
|
/external/python/cpython3/Lib/ |
D | pickletools.py | 993 pyfloat = StackObject( variable 1476 stack_after=[pyfloat], 1496 stack_after=[pyfloat],
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 2808 #define PyDec_FromFloat(st, pyfloat, context) \ argument 2809 PyDecType_FromFloat((st)->PyDec_Type, pyfloat, context) 2810 #define PyDec_FromFloatExact(st, pyfloat, context) \ argument 2811 PyDecType_FromFloatExact((st)->PyDec_Type, pyfloat, context) 2820 dec_from_float(PyObject *type, PyObject *pyfloat) in dec_from_float() argument 2827 result = PyDecType_FromFloatExact(state->PyDec_Type, pyfloat, context); in dec_from_float()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 907 PyFloat_AS_DOUBLE:PyObject*:pyfloat:0: 910 PyFloat_AsDouble:PyObject*:pyfloat:0:
|