Lines Matching defs:sign

304    integers are stored in sign-magnitude format, with the magnitude stored as
316 - sign is 1 for negative Bigints, 0 for positive. The sign is unused
319 ignores signs on inputs but sets the sign of the output correctly.
328 int k, maxwds, sign, wds;
384 rv->sign = rv->wds = 0;
429 rv->sign = rv->wds = 0;
445 #define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign, \
687 Bigint b will have been Bfree'd. Ignores the sign of b. */
794 original b will have been Bfree'd. Ignores the sign of b. */
873 NULL on failure. The signs of a and b are ignored, but the sign of the
904 c->sign = i;
1075 word0(d) &= 0x7fffffff; /* clear sign bit, which we ignore */
1411 NaNs (see IEEE 754-2008, section 6.2.1). If sign == 0, return the one whose
1412 sign bit is cleared. Otherwise, return the one whose sign bit is set.
1416 _Py_dg_stdnan(int sign)
1421 if (sign)
1426 /* Return positive or negative infinity, according to the given sign (0 for
1430 _Py_dg_infinity(int sign)
1435 return sign ? -dval(&rv) : dval(&rv);
1442 int esign, i, j, k, lz, nd, nd0, odd, sign;
1458 /* Parse optional sign, if present. */
1459 sign = 0;
1462 sign = 1;
1527 /* Exponent sign. */
1592 * inputs, we have values s0, nd0, nd, e, sign, where:
1612 * - sign gives the sign of the input: 1 for negative, 0 for positive
1918 dsign = delta->sign;
1919 delta->sign = 0;
2129 result = sign ? -dval(&rv) : dval(&rv);
2142 result = sign ? -0.0 : 0.0;
2150 result = sign ? -dval(&rv) : dval(&rv);
2249 int *decpt, int *sign, char **rve)
2251 /* Arguments ndigits, decpt, sign are similar to those
2303 /* set sign for everything, including 0's and NaNs */
2304 *sign = 1;
2305 word0(&u) &= ~Sign_bit; /* clear sign bit */
2308 *sign = 0;
2736 j1 = delta->sign ? 1 : cmp(b, delta);