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