Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dlongobject.c31 #define MEDIUM_VALUE(x) (assert(-1 <= Py_SIZE(x) && Py_SIZE(x) <= 1), \ macro
54 sdigit ival = MEDIUM_VALUE(v); in maybe_small_long()
76 *x_p = (PyLongObject *)PyLong_FromLong(-MEDIUM_VALUE(x)); in _PyLong_Negate()
158 sdigit ival = MEDIUM_VALUE(src); in _PyLong_Copy()
2894 return (double)MEDIUM_VALUE((PyLongObject *)v); in PyLong_AsDouble()
3097 return PyLong_FromLong(MEDIUM_VALUE(a) + MEDIUM_VALUE(b)); in long_add()
3131 return PyLong_FromLong(MEDIUM_VALUE(a) - MEDIUM_VALUE(b)); in long_sub()
3566 stwodigits v = (stwodigits)(MEDIUM_VALUE(a)) * MEDIUM_VALUE(b); in long_mul()
4333 return PyLong_FromLong(-(MEDIUM_VALUE(v)+1)); in long_invert()
4348 return PyLong_FromLong(-MEDIUM_VALUE(v)); in long_neg()