Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dlongobject.c30 #define MEDIUM_VALUE(x) (assert(-1 <= Py_SIZE(x) && Py_SIZE(x) <= 1), \ macro
51 sdigit ival = MEDIUM_VALUE(v); in maybe_small_long()
73 *x_p = (PyLongObject *)PyLong_FromLong(-MEDIUM_VALUE(x)); in _PyLong_Negate()
155 sdigit ival = MEDIUM_VALUE(src); in _PyLong_Copy()
2868 return (double)MEDIUM_VALUE((PyLongObject *)v); in PyLong_AsDouble()
3071 return PyLong_FromLong(MEDIUM_VALUE(a) + MEDIUM_VALUE(b)); in long_add()
3105 return PyLong_FromLong(MEDIUM_VALUE(a) - MEDIUM_VALUE(b)); in long_sub()
3540 stwodigits v = (stwodigits)(MEDIUM_VALUE(a)) * MEDIUM_VALUE(b); in long_mul()
4307 return PyLong_FromLong(-(MEDIUM_VALUE(v)+1)); in long_invert()
4322 return PyLong_FromLong(-MEDIUM_VALUE(v)); in long_neg()