Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dfloatobject.c80 PyObject* floatinfo; in PyFloat_GetInfo() local
83 floatinfo = PyStructSequence_New(&FloatInfoType); in PyFloat_GetInfo()
84 if (floatinfo == NULL) { in PyFloat_GetInfo()
89 PyStructSequence_SET_ITEM(floatinfo, pos++, PyLong_FromLong(flag)) in PyFloat_GetInfo()
91 PyStructSequence_SET_ITEM(floatinfo, pos++, PyFloat_FromDouble(flag)) in PyFloat_GetInfo()
108 Py_CLEAR(floatinfo); in PyFloat_GetInfo()
111 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()