Lines Matching defs:sign
657 /* ensure the remainder has the same sign as the denominator */
665 it has the same sign as the denominator. */
684 /* ensure the remainder has the same sign as the denominator */
693 it has the same sign as the denominator. */
704 /* div is zero - get the same sign as the true quotient */
705 *floordiv = copysign(0.0, vx / wx); /* zero w/ sign of vx/wx */
785 * both cases, we need to add the appropriate sign if w is
805 /* use correct sign if iw is odd */
967 int decpt, sign;
973 buf = _Py_dg_dtoa(x, 3, ndigits, &decpt, &sign, &buf_end);
981 buf + 8: (1 extra for '0', 1 for sign, 5 for exp, 1 for '\0'). */
991 /* copy buf to mybuf, adding exponent, sign and leading 0 */
992 PyOS_snprintf(mybuf, mybuflen, "%s0%se%d", (sign ? "-" : ""),
1115 /* return 0.0, but with sign of x */
1385 /* optional sign */
2072 unsigned char sign;
2079 sign = (copysign(1.0, x) == -1.0);
2084 sign = (x < 0.0);
2093 choose the one with the appropriate sign. */
2094 sign = (copysign(1.0, x) == -1.0);
2099 sign = (x < 0.0);
2100 if (sign) {
2150 bits |= (e << 10) | (sign << 15);
2178 unsigned char sign;
2190 sign = 1;
2194 sign = 0;
2235 *p = (sign << 7) | (e >> 1);
2286 unsigned char sign;
2298 sign = 1;
2302 sign = 0;
2354 *p = (sign << 7) | (e >> 4);
2415 unsigned char sign;
2427 sign = (*p >> 7) & 1;
2439 return sign ? -Py_HUGE_VAL : Py_HUGE_VAL;
2443 return sign ? -Py_NAN : Py_NAN;
2448 return _Py_dg_infinity(sign);
2452 return _Py_dg_stdnan(sign);
2468 if (sign)
2479 unsigned char sign;
2491 sign = (*p >> 7) & 1;
2526 if (sign)
2558 unsigned char sign;
2570 sign = (*p >> 7) & 1;
2622 if (sign)