Searched refs:pyfloat (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Doc/c-api/ |
D | float.rst | 45 .. c:function:: double PyFloat_AsDouble(PyObject *pyfloat) 47 Return a C :c:type:`double` representation of the contents of *pyfloat*. If 48 *pyfloat* is not a Python floating point object but has a :meth:`__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:type:`double` representation of the contents of *pyfloat*, but
|
/third_party/python/Modules/ |
D | arraymodule.c | 2052 PyObject *pyfloat = PyFloat_FromDouble( in array__array_reconstructor_impl() local 2054 if (pyfloat == NULL) { in array__array_reconstructor_impl() 2058 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl() 2074 PyObject *pyfloat = PyFloat_FromDouble( in array__array_reconstructor_impl() local 2076 if (pyfloat == NULL) { in array__array_reconstructor_impl() 2080 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl()
|
/third_party/python/Lib/ |
D | pickletools.py | 993 pyfloat = StackObject( variable 1476 stack_after=[pyfloat], 1496 stack_after=[pyfloat],
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 2641 #define PyDec_FromFloat(pyfloat, context) \ argument 2642 PyDecType_FromFloat(&PyDec_Type, pyfloat, context) 2643 #define PyDec_FromFloatExact(pyfloat, context) \ argument 2644 PyDecType_FromFloatExact(&PyDec_Type, pyfloat, context) 2653 dec_from_float(PyObject *type, PyObject *pyfloat) in dec_from_float() argument 2659 result = PyDecType_FromFloatExact(&PyDec_Type, pyfloat, context); in dec_from_float()
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 877 PyFloat_AS_DOUBLE:PyObject*:pyfloat:0: 880 PyFloat_AsDouble:PyObject*:pyfloat:0:
|