Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dintobject.c1004 unsigned long abs_ival, lsb; in int_float() local
1008 abs_ival = 0U-(unsigned long)v->ob_ival; in int_float()
1010 abs_ival = (unsigned long)v->ob_ival; in int_float()
1011 if (abs_ival < (1L << DBL_MANT_DIG)) in int_float()
1030 lsb = 1L << (bits_in_ulong(abs_ival)-DBL_MANT_DIG-1); in int_float()
1031 round_up = (abs_ival & lsb) && (abs_ival & (3*lsb-1)); in int_float()
1032 abs_ival &= -2*lsb; in int_float()
1034 abs_ival += 2*lsb; in int_float()
1036 -(double)abs_ival : in int_float()
1037 (double)abs_ival); in int_float()
Dlongobject.c104 unsigned long abs_ival; in PyLong_FromLong() local
113 abs_ival = (unsigned long)(-1-ival) + 1; in PyLong_FromLong()
117 abs_ival = (unsigned long)ival; in PyLong_FromLong()
124 t = abs_ival; in PyLong_FromLong()
133 t = abs_ival; in PyLong_FromLong()
849 unsigned PY_LONG_LONG abs_ival; in PyLong_FromLongLong() local
857 abs_ival = (unsigned PY_LONG_LONG)(-1-ival) + 1; in PyLong_FromLongLong()
861 abs_ival = (unsigned PY_LONG_LONG)ival; in PyLong_FromLongLong()
868 t = abs_ival; in PyLong_FromLongLong()
877 t = abs_ival; in PyLong_FromLongLong()