Lines Matching refs:sign
75 int sign = (hl >> 63) ? -1 : +1;
78 mpfr_set_inf(x, sign);
83 mpfr_setsign(x, x, sign < 0, GMP_RNDN);
89 mpfr_set_sj_2exp(x, mantissa * sign, (int)exp - 0x3ff - 52, GMP_RNDN);
96 int sign = (f >> 31) ? -1 : +1;
99 mpfr_set_inf(x, sign);
104 mpfr_setsign(x, x, sign < 0, GMP_RNDN);
110 mpfr_set_sj_2exp(x, mantissa * sign, (int)exp - 0x7f - 23, GMP_RNDN);
137 uint32_t sign, expfield, mantfield;
148 sign = mpfr_signbit(x) ? 0x80000000U : 0;
151 *h = 0x7ff00000 | sign;
158 *h = 0x00000000 | sign;
173 *h = 0x7ff00000 | sign;
187 *h = sign + ((uint64_t)expfield << 20) + mantfield;
201 uint32_t sign, expfield, mantfield;
211 sign = mpfr_signbit(x) ? 0x80000000U : 0;
214 *f = 0x7f800000 | sign;
220 *f = 0x00000000 | sign;
234 *f = 0x7f800000 | sign;
247 *f = sign + ((uint64_t)expfield << 23) + mantfield;
328 * sign. We don't bother testing that, so this wrapper throws away
329 * the sign and hence fits into the same function prototype as all
332 * There is also mpfr_lngamma which has no sign output and hence
336 int sign;
337 return mpfr_lgamma(ret, &sign, x, rnd);
835 int sign, eptr;
839 * - each of two sign bits (2)
853 for (sign = 0; sign <= 1; sign++) {
855 se = (sign ? 0x80000000 : 0) | ((exps[eptr]+127) << 23);
963 int sign, eptr;
967 * - each of two sign bits (2)
981 for (sign = 0; sign <= 1; sign++) {
983 se = (sign ? 0x80000000 : 0) | ((exps[eptr]+1023) << 20);
1249 uint32 sign = random_sign;
1250 if (sign == 0) {
1255 out[0] |= sign;
1260 uint32 sign = random_sign;
1261 if (sign == 0) {
1266 out[0] |= sign;