Lines Matching defs:negative

435  * (unsigned long)LONG_MAX, and for the smallest negative signed long
643 "can't convert negative value to unsigned int");
687 "can't convert negative value to size_t");
845 is positive, and leading 0xff bytes if negative. */
946 "can't convert negative int to unsigned");
1162 int negative = 0;
1171 negative = 1;
1186 Py_SET_SIZE(v, negative ? -ndigits : ndigits);
1718 int negative;
1728 negative = Py_SIZE(a) < 0;
1799 strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
1809 Py_ssize_t strlen_nosign = strlen - negative;
1859 if (negative) \
1939 int negative;
1948 negative = Py_SIZE(a) < 0;
1980 sz = negative + (size_a_in_bits + (bits - 1)) / bits;
2038 if (negative) \
3097 /* if a < b, return a negative number
3783 /* Negate if exactly one of the inputs is negative. */
3815 /* Either 'a' or 'b' is negative. */
3838 /* Either 'a' or 'b' is negative. */
4279 be either positive or negative, but will be smaller than n in
4372 int negativeOutput = 0; /* if x<0 return negative output */
4407 /* if exponent is negative and there's no modulus:
4448 /* if exponent is negative, negate the exponent and
4470 1. If base < 0. Forcing the base non-negative makes things easier.
4487 /* At this point a, b, and c are guaranteed non-negative UNLESS
4488 c is NULL, in which case a may be negative. */
4764 /* For negative 'a', adjust so that 0 < remshift <= PyLong_SHIFT,
4833 PyErr_SetString(PyExc_ValueError, "negative shift count");
4910 PyErr_SetString(PyExc_ValueError, "negative shift count");
4965 /* Bitwise operations for negative numbers operate as though
4970 /* If a is negative, replace it by its two's complement. */
5011 negative number.
5030 /* We allow an extra digit if z is negative, to make sure that
5065 /* Complement result if negative. */
5505 # positive, 2 * r < b if b negative.
5520 /* Do a and b have different signs? If so, quotient is negative. */
5854 If signed is False and a negative integer is given, an OverflowError
5882 "length argument must be non-negative");