Home
last modified time | relevance | path

Searched refs:pyfloat (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Doc/c-api/
Dfloat.rst45 .. 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.
54 .. c:function:: double PyFloat_AS_DOUBLE(PyObject *pyfloat)
56 Return a C :c:type:`double` representation of the contents of *pyfloat*, but
/external/python/cpython2/Doc/c-api/
Dfloat.rst53 .. c:function:: double PyFloat_AsDouble(PyObject *pyfloat)
55 Return a C :c:type:`double` representation of the contents of *pyfloat*. If
56 *pyfloat* is not a Python floating point object but has a :meth:`__float__`
57 method, this method will first be called to convert *pyfloat* into a float.
62 .. c:function:: double PyFloat_AS_DOUBLE(PyObject *pyfloat)
64 Return a C :c:type:`double` representation of the contents of *pyfloat*, but
/external/python/cpython2/Lib/
Dpickletools.py748 pyfloat = StackObject( variable
1099 stack_after=[pyfloat],
1119 stack_after=[pyfloat],
/external/python/cpython3/Modules/
Darraymodule.c2042 PyObject *pyfloat = PyFloat_FromDouble( in array__array_reconstructor_impl() local
2044 if (pyfloat == NULL) { in array__array_reconstructor_impl()
2048 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl()
2064 PyObject *pyfloat = PyFloat_FromDouble( in array__array_reconstructor_impl() local
2066 if (pyfloat == NULL) { in array__array_reconstructor_impl()
2070 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl()
/external/python/cpython3/Lib/
Dpickletools.py958 pyfloat = StackObject( variable
1398 stack_after=[pyfloat],
1418 stack_after=[pyfloat],
/external/python/cpython3/Modules/_decimal/
D_decimal.c2497 #define PyDec_FromFloat(pyfloat, context) \ argument
2498 PyDecType_FromFloat(&PyDec_Type, pyfloat, context)
2499 #define PyDec_FromFloatExact(pyfloat, context) \ argument
2500 PyDecType_FromFloatExact(&PyDec_Type, pyfloat, context)
2509 dec_from_float(PyObject *type, PyObject *pyfloat) in dec_from_float() argument
2515 result = PyDecType_FromFloatExact(&PyDec_Type, pyfloat, context); in dec_from_float()
/external/python/cpython2/Doc/data/
Drefcounts.dat425 PyFloat_AS_DOUBLE:PyObject*:pyfloat:0:
428 PyFloat_AsDouble:PyObject*:pyfloat:0:
/external/python/cpython3/Doc/data/
Drefcounts.dat849 PyFloat_AS_DOUBLE:PyObject*:pyfloat:0:
852 PyFloat_AsDouble:PyObject*:pyfloat:0: