HomeSort by: relevance | last modified time | path
    Searched defs:sign (Results 1 - 25 of 164) sorted by relevancy

1 2 3 4 5 6 7

  /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 in typeref:typename:int
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 in typeref:typename:int
  /src/sys/arch/hppa/spmath/
divsfm.c 52 register int sign, op1_sign; local in function:divsfm
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 in function:divsfr
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 in function:divsim
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 in function:divsir
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 in function:mpyaccs
63 sign = result_hi ^ temp.rslt_hi;
65 if (sign >= 0 && (temp.rslt_hi ^ result_hi) < 0) overflow = true;
divsfm.c 52 register int sign, op1_sign; local in function:divsfm
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 in function:divsfr
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 in function:divsim
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 in function:divsir
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 in function:mpyaccs
63 sign = result_hi ^ temp.rslt_hi;
65 if (sign >= 0 && (temp.rslt_hi ^ result_hi) < 0) overflow = true;
  /src/lib/libc/gdtoa/
strtodI.c 61 ULong bits[2], sign; local in function:strtodI
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...]
strtodI.c 61 ULong bits[2], sign; local in function:strtodI
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_sinh.c 112 double t, sign; local in function:sinh
116 sign=copysign(one,x);
119 {t=expm1(x); return(copysign((t+t/(one+t))*half,sign));}
124 return(copysign(scalb(one+expm1((x-mln2hi)-mln2lo),max),sign));
127 return( expm1(x)*sign );
n_tanh.c 80 double t, sign; local in function:tanh
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 */
n_sinh.c 112 double t, sign; local in function:sinh
116 sign=copysign(one,x);
119 {t=expm1(x); return(copysign((t+t/(one+t))*half,sign));}
124 return(copysign(scalb(one+expm1((x-mln2hi)-mln2lo),max),sign));
127 return( expm1(x)*sign );
  /src/sys/arch/m68k/fpe/
fpu_hyperb.c 223 int sign; local in function:fpu_tanh
233 sign = fe->fe_f2.fp_sign;
235 fe->fe_f2.fp_sign = sign;
fpu_hyperb.c 223 int sign; local in function:fpu_tanh
233 sign = fe->fe_f2.fp_sign;
235 fe->fe_f2.fp_sign = sign;
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
floatditf.c 28 // All other cases begin by extracting the sign and absolute value of a
29 rep_t sign = 0; local in function:__floatditf
32 sign = signBit;
46 // Insert the sign bit and return
47 return fromRep(result | sign);
floatsidf.c 30 // All other cases begin by extracting the sign and absolute value of a
31 rep_t sign = 0; local in function:__floatsidf
33 sign = signBit;
49 // Insert the sign bit and return
50 return fromRep(result | sign);
floatsisf.c 30 // All other cases begin by extracting the sign and absolute value of a
31 rep_t sign = 0; local in function:__floatsisf
33 sign = signBit;
55 // Insert the sign bit and return
56 return fromRep(result | sign);
floatsitf.c 28 // All other cases begin by extracting the sign and absolute value of a
29 rep_t sign = 0; local in function:__floatsitf
32 sign = signBit;
46 // Insert the sign bit and return
47 return fromRep(result | sign);
floatditf.c 28 // All other cases begin by extracting the sign and absolute value of a
29 rep_t sign = 0; local in function:__floatditf
32 sign = signBit;
46 // Insert the sign bit and return
47 return fromRep(result | sign);
  /src/lib/libm/src/
s_rintl.c 61 int ex, sign; local in function:rintl
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]);

Completed in 26 milliseconds

1 2 3 4 5 6 7