| /src/games/robots/ |
| move_robs.c | 68 rp->y += sign(My_pos.y - rp->y); 69 rp->x += sign(My_pos.x - rp->x); 142 * sign: 143 * Return the sign of the number 146 sign(int n) function
|
| /src/sys/arch/hppa/spmath/ |
| divsfm.c | 52 register int sign, op1_sign; local 60 /* get sign of result */ 61 sign = opnd1 ^ opnd2; 107 if (sign<0) result_lo = -result_lo;
|
| divsfr.c | 52 int sign, op1_sign; local 60 /* get sign of result */ 61 sign = opnd1 ^ opnd2; 102 if (sign<0) result_lo = -result_lo;
|
| divsim.c | 52 int sign, op1_sign; local 60 /* get sign of result */ 61 sign = opnd1 ^ opnd2; 92 if (sign>0 && result_lo<0) { 109 if (sign<0) result_lo = -result_lo;
|
| divsir.c | 52 int sign, op1_sign; local 60 /* get sign of result */ 61 sign = opnd1 ^ opnd2; 92 if (sign>0 && result_lo<0) { 101 if (sign<0) result_lo = -result_lo;
|
| mpyaccs.c | 53 int carry, sign; local 63 sign = result_hi ^ temp.rslt_hi; 65 if (sign >= 0 && (temp.rslt_hi ^ result_hi) < 0) overflow = true;
|
| /src/external/lgpl3/mpfr/dist/src/ |
| round_near_x.c | 159 int inexact, sign; local 181 sign = MPFR_SIGN (v); 183 MPFR_SET_SIGN (y, sign); 184 MPFR_RNDRAW_GEN (inexact, y, MPFR_MANT (v), MPFR_PREC (v), rnd, sign, 187 inexact = -sign; 193 mpfr_overflow (y, rnd, sign) 204 inexact = sign; 205 if (MPFR_IS_LIKE_RNDZ (rnd, MPFR_IS_NEG_SIGN (sign))) 210 inexact = -sign; 218 inexact = -sign; [all...] |
| sub.c | 65 int sign = rnd_mode != MPFR_RNDD local 68 MPFR_SET_SIGN (a, sign);
|
| cache.c | 61 int inexact, sign; local 123 sign = MPFR_SIGN (cache->x); 125 MPFR_SET_SIGN (dest, sign); 131 MPFR_MANT (cache->x), cprec, rnd, sign, 136 inexact = -sign; 146 inexact = -sign;
|
| /src/external/mpl/bind/dist/bin/tests/system/cds/ |
| setup.sh | 88 sign() { function 94 sign null <<EOF 110 cat db.null CDS.1 | sign cds.1 111 cat db.null CDS.2 | sign cds.2 112 cat db.null CDS.1 CDS.2 | sign cds.both 116 cat db.null CDNSKEY.2 | sign cdnskey.2 117 cat db.null CDS.2 CDNSKEY.2 | sign cds.cdnskey.2 118 cat db.null CDS.1 CDNSKEY.2 | sign cds1.cdnskey2 120 cat db.null CDS.2-1 | sign cds.2.sha1 121 cat db.null CDS.2-1 CDNSKEY.2 | sign cds.cdnskey.2.sha [all...] |
| /src/external/gpl3/gcc/dist/libquadmath/math/ |
| llroundq.c | 29 int sign; local 33 sign = (i0 & 0x8000000000000000ULL) != 0 ? -1 : 1; 40 return j0 < -1 ? 0 : sign; 63 if (sign == 1 && result == LLONG_MIN) 77 && !(sign == -1 && x > (__float128) LLONG_MIN - 0.5Q)) 80 return sign == 1 ? LLONG_MAX : LLONG_MIN; 94 return sign * result;
|
| lroundq.c | 29 int sign; local 33 sign = (i0 & 0x8000000000000000ULL) != 0 ? -1 : 1; 42 return j0 < -1 ? 0 : sign; 49 && sign == 1 71 && sign == 1 86 && !(sign == -1 && x > (__float128) LONG_MIN - 0.5Q)) 89 return sign == 1 ? LONG_MAX : LONG_MIN; 105 return sign * result;
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ryu/ |
| ryu_generic_128.h | 42 bool sign; member in struct:floating_decimal_128 50 // sign + mantissa digits + decimal dot + 'E' + exponent sign + exponent digits
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| range.cc | 49 signop sign = TYPE_SIGN (type); local 50 return value_range (type, wi::zero (prec), wi::max_value (prec, sign)); 57 signop sign = TYPE_SIGN (type); local 59 if (sign == UNSIGNED) 62 r = value_range (type, wi::min_value (prec, sign), wi::minus_one (prec));
|
| /src/external/gpl3/gcc.old/dist/libquadmath/math/ |
| llroundq.c | 29 int sign; local 33 sign = (i0 & 0x8000000000000000ULL) != 0 ? -1 : 1; 40 return j0 < -1 ? 0 : sign; 63 if (sign == 1 && result == LLONG_MIN) 77 && !(sign == -1 && x > (__float128) LLONG_MIN - 0.5Q)) 80 return sign == 1 ? LLONG_MAX : LLONG_MIN; 94 return sign * result;
|
| lroundq.c | 29 int sign; local 33 sign = (i0 & 0x8000000000000000ULL) != 0 ? -1 : 1; 42 return j0 < -1 ? 0 : sign; 49 && sign == 1 71 && sign == 1 86 && !(sign == -1 && x > (__float128) LONG_MIN - 0.5Q)) 89 return sign == 1 ? LONG_MAX : LONG_MIN; 105 return sign * result;
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/ryu/ |
| ryu_generic_128.h | 42 bool sign; member in struct:floating_decimal_128 50 // sign + mantissa digits + decimal dot + 'E' + exponent sign + exponent digits
|
| /src/external/lgpl3/gmp/dist/mpf/ |
| set_prc.c | 44 mp_size_t size, sign; local 58 sign = SIZ(x); 59 size = ABS (sign); 63 SIZ(x) = (sign >= 0 ? new_prec_plus1 : -new_prec_plus1);
|
| /src/lib/libc/gdtoa/ |
| strtodI.c | 61 ULong bits[2], sign; local 70 sign = k & STRTOG_Neg ? 0x80000000L : 0; 80 if (sign) 100 if (sign) { 101 word0(&u[0]) |= sign; 113 word0(&u[1]) = sign; 129 word0(&u[0]) = sign; 143 word0(&u[0]) = word0(&u[1]) = sign | 0x7ff00000; 146 if (sign) { 163 word0(&u[0]) = word0(&u[1]) = 0x7ff00000 | sign | bits[1] [all...] |
| /src/lib/libm/noieee_src/ |
| n_tanh.c | 80 double t, sign; local 86 sign=copysign(one,x); 90 return(copysign(one-two/(expm1(x+x)+two),sign)); 92 {t= -expm1(-(x+x)); return(copysign(t/(two-t),sign));} 94 { t = big+x; return(copysign(x,sign));} /* ??? -ragge */ 96 return (sign+1.0E-37); /* raise the INEXACT flag */ 98 return(sign); /* x is +- INF */
|
| /src/lib/libm/src/ |
| s_rintl.c | 61 int ex, sign; local 72 sign = expsign >> 15; 81 x += shift[sign]; 82 x -= shift[sign]; 85 * If the result is +-0, then it must have the same sign as x, but 86 * the above calculation doesn't always give this. Fix up the sign. 89 return (zero[sign]);
|
| /src/sys/arch/m68k/fpe/ |
| fpu_hyperb.c | 223 int sign; local 233 sign = fe->fe_f2.fp_sign; 235 fe->fe_f2.fp_sign = sign;
|
| /src/external/gpl3/binutils/dist/gas/ |
| flonum.h | 47 /* JF: A sign value of 0 means we have been asked to assemble NaN 48 A sign value of 'P' means we've been asked to assemble +Inf 49 A sign value of 'N' means we've been asked to assemble -Inf 50 A sign value of 'Q' means we've been asked to assemble +QNaN 51 A sign value of 'q' means we've been asked to assemble -QNaN 52 A sign value of 'S' means we've been asked to assemble +SNaN 53 A sign value of 's' means we've been asked to assemble -SNaN 61 char sign; /* '+' or '-' */ member in struct:FLONUM_STRUCT
|
| /src/external/gpl3/binutils.old/dist/gas/ |
| flonum.h | 47 /* JF: A sign value of 0 means we have been asked to assemble NaN 48 A sign value of 'P' means we've been asked to assemble +Inf 49 A sign value of 'N' means we've been asked to assemble -Inf 50 A sign value of 'Q' means we've been asked to assemble +QNaN 51 A sign value of 'q' means we've been asked to assemble -QNaN 52 A sign value of 'S' means we've been asked to assemble +SNaN 53 A sign value of 's' means we've been asked to assemble -SNaN 61 char sign; /* '+' or '-' */ member in struct:FLONUM_STRUCT
|
| /src/external/gpl3/gcc/dist/gcc/ |
| range.cc | 50 signop sign = TYPE_SIGN (type); local 51 return value_range (type, wi::zero (prec), wi::max_value (prec, sign)); 58 signop sign = TYPE_SIGN (type); local 60 if (sign == UNSIGNED) 63 r = value_range (type, wi::min_value (prec, sign), wi::minus_one (prec));
|