Searched refs:floatinfo (Results 1 – 2 of 2) sorted by relevance
80 PyObject* floatinfo; in PyFloat_GetInfo() local83 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()
106 PyObject* floatinfo; in PyFloat_GetInfo() local109 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()