Home
last modified time | relevance | path

Searched refs:floatinfo (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/
Dfloatobject.c81 PyObject* floatinfo; in PyFloat_GetInfo() local
84 floatinfo = PyStructSequence_New(&FloatInfoType); in PyFloat_GetInfo()
85 if (floatinfo == NULL) { in PyFloat_GetInfo()
90 PyStructSequence_SET_ITEM(floatinfo, pos++, PyLong_FromLong(flag)) in PyFloat_GetInfo()
92 PyStructSequence_SET_ITEM(floatinfo, pos++, PyFloat_FromDouble(flag)) in PyFloat_GetInfo()
109 Py_CLEAR(floatinfo); in PyFloat_GetInfo()
112 return floatinfo; in PyFloat_GetInfo()
/external/python/cpython2/Objects/
Dfloatobject.c106 PyObject* floatinfo; in PyFloat_GetInfo() local
109 floatinfo = PyStructSequence_New(&FloatInfoType); in PyFloat_GetInfo()
110 if (floatinfo == NULL) { in PyFloat_GetInfo()
115 PyStructSequence_SET_ITEM(floatinfo, pos++, PyInt_FromLong(flag)) in PyFloat_GetInfo()
117 PyStructSequence_SET_ITEM(floatinfo, pos++, PyFloat_FromDouble(flag)) in PyFloat_GetInfo()
134 Py_CLEAR(floatinfo); in PyFloat_GetInfo()
137 return floatinfo; in PyFloat_GetInfo()