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

1 2 3 4

  /src/external/gpl3/gcc/dist/libgcc/soft-fp/
fixddbitint.c 41 SItype sgn; local
50 sgn = (DItype) u.u < 0;
72 if (!sgn)
76 if (sgn ^ (rprec >= 0))
119 if (rprec >= 0 && sgn)
175 if (sgn)
184 if (sgn)
191 else if (sgn)
fixsdbitint.c 41 SItype sgn; local
50 sgn = (SItype) u.u < 0;
72 if (!sgn)
76 if (sgn ^ (rprec >= 0))
120 if (rprec >= 0 && sgn)
166 if (sgn)
175 if (sgn)
182 else if (sgn)
fixtdbitint.c 41 SItype sgn; local
52 sgn = (DItype) mantissahi < 0;
79 if (!sgn)
83 if (sgn ^ (rprec >= 0))
142 if (rprec >= 0 && sgn)
212 if (sgn)
221 if (sgn)
228 else if (sgn)
  /src/external/lgpl3/mpc/dist/tests/
exceptions.c 23 /* Return non-zero if 'rnd' rounds towards zero, for a number of sign 'sgn' */
24 #define MPC_IS_LIKE_RNDZ(rnd, sgn) \
25 ((rnd==MPFR_RNDZ) || (sgn<0 && rnd==MPFR_RNDU) || (sgn>0 && rnd==MPFR_RNDD))
37 int n, inex, inex_re, inex_im, sgn; local
42 for (sgn = 0; sgn < 4; sgn++)
48 if (sgn & 1)
54 if (sgn & 2
    [all...]
texceptions.c 23 /* Return non-zero if 'rnd' rounds towards zero, for a number of sign 'sgn' */
24 #define MPC_IS_LIKE_RNDZ(rnd, sgn) \
25 ((rnd==MPFR_RNDZ) || (sgn<0 && rnd==MPFR_RNDU) || (sgn>0 && rnd==MPFR_RNDD))
38 int n, inex, inex_re, inex_im, sgn; local
43 for (sgn = 0; sgn < 4; sgn++)
49 if (sgn & 1)
55 if (sgn & 2
    [all...]
  /src/lib/libm/noieee_src/
n_jn.c 115 int i, sgn; local
132 sgn = (n&1)&(x < zero); /* even n -- 0, odd n -- sign(x) */
261 return ((sgn == 1) ? -b : b);
n_gamma.c 292 int sgn = 1; local
306 sgn = -1;
314 return ((double)sgn*tiny*tiny);
323 if (sgn < 0) y = -y;
331 if (sgn < 0) y = -y;
  /src/lib/libm/src/
e_jn.c 58 int32_t i,hx,ix,lx, sgn; local
77 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */
214 if(sgn==1) return -b; else return b;
e_jnf.c 36 int32_t i,hx,ix, sgn; local
54 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */
168 if(sgn==1) return -b; else return b;
b_tgamma.c 278 int sgn = 1; local
290 sgn = -1;
298 return ((double)sgn*tiny*tiny);
307 if (sgn < 0) y = -y;
315 if (sgn < 0) y = -y;
  /src/external/lgpl3/mpfr/dist/tests/
tsubnormal.c 93 const char *sgn = s ? "-" : ""; local
96 sgn, tab[i].in, sgn, tab[i].out);
  /src/sys/arch/sparc/sparc/
emul.c 151 unsigned sgn:1; /* sign bit */ member in struct:__anon1983::__anon1984
160 "us"[op.bits.sgn], op.bits.div ? "div" : "mul",
195 if (op.bits.sgn && *rd < 0)
232 unsigned sgn:1; /* 1 bit sign */ member in struct:__anon1985::__anon1986
295 op.bits.st ? "st" : "ld", "us"[op.bits.sgn],
346 if (op.bits.sgn && (data.s[1] & 0x8000) != 0)
  /src/sys/arch/sparc64/sparc64/
emul.c 150 unsigned sgn:1; /* sign bit */ member in struct:__anon2065::__anon2066
159 "us"[op.bits.sgn], op.bits.div ? "div" : "mul",
194 if (op.bits.sgn && *rd < 0)
229 unsigned sgn:1; /* 1 bit sign */ member in struct:__anon2067::__anon2068
286 op.bits.st ? "st" : "ld", "us"[op.bits.sgn],
337 if (op.bits.sgn && (data.s[1] & 0x8000) != 0)
  /src/external/gpl3/gcc/dist/libquadmath/math/
jnq.c 72 int32_t i, ix, sgn; local
103 sgn = (n & 1) & (se >> 31); /* even n -- 0, odd n -- sign(x) */
109 return sgn == 1 ? -zero : zero;
290 if (sgn == 1)
powq.c 150 __float128 y1, t1, t2, r, s, sgn, t, u, v, w; local
265 /* sgn (sign of result -ve**odd) = -1 else = 1 */
266 sgn = one;
268 sgn = -one; /* (-ve)**(odd int) */
285 return (hy < 0) ? sgn * huge * huge : sgn * tiny * tiny;
287 return (hy > 0) ? sgn * huge * huge : sgn * tiny * tiny;
389 return sgn * huge * huge; /* overflow */
393 return sgn * huge * huge; /* overflow *
    [all...]
  /src/external/gpl3/gcc.old/dist/libquadmath/math/
jnq.c 72 int32_t i, ix, sgn; local
103 sgn = (n & 1) & (se >> 31); /* even n -- 0, odd n -- sign(x) */
109 return sgn == 1 ? -zero : zero;
290 if (sgn == 1)
powq.c 150 __float128 y1, t1, t2, r, s, sgn, t, u, v, w; local
265 /* sgn (sign of result -ve**odd) = -1 else = 1 */
266 sgn = one;
268 sgn = -one; /* (-ve)**(odd int) */
285 return (hy < 0) ? sgn * huge * huge : sgn * tiny * tiny;
287 return (hy > 0) ? sgn * huge * huge : sgn * tiny * tiny;
389 return sgn * huge * huge; /* overflow */
393 return sgn * huge * huge; /* overflow *
    [all...]
  /src/external/lgpl3/mpfr/dist/src/
gamma.c 333 int underflow = 0, sgn, ck; local
361 sgn = mpfr_sgn (tmp);
386 return mpfr_underflow (gamma, (rnd_mode == MPFR_RNDN) ? MPFR_RNDZ : rnd_mode, -sgn);
  /src/external/mit/isl/dist/
isl_dim_map.c 20 int sgn; member in struct:isl_dim_map_entry
39 dim_map->m[0].sgn = 1;
41 dim_map->m[1 + i].sgn = 0;
66 dim_map->m[d].sgn = sign;
83 dim_map->m[1 + dst_pos + i].sgn = 1;
109 dim_map->m[1 + dst_pos + i].sgn = 1;
119 dim_map->m[i].sgn, dim_map->m[i].pos);
129 if (dim_map->m[i].sgn == 0)
131 else if (dim_map->m[i].sgn > 0)
215 res->m[dim_map->len + i].sgn = 1
    [all...]
  /src/games/hack/
hack.c 711 sdx = sgn(dx);
714 sdy = sgn(dy);
761 sgn(int a) function
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_libc.cc 233 int sgn = 1; local
238 sgn = 1;
241 sgn = -1;
254 if (sgn > 0) {
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_libc.cpp 258 int sgn = 1; local
263 sgn = 1;
266 sgn = -1;
279 if (sgn > 0) {
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_libc.cpp 233 int sgn = 1; local
238 sgn = 1;
241 sgn = -1;
254 if (sgn > 0) {
  /src/external/gpl3/gdb/dist/gdb/
gmp-utils.h 183 int sgn () const function in struct:gdb_mpz
187 { return sgn () != 0; }
467 int sgn () const function in struct:gdb_mpq
  /src/external/gpl3/gdb.old/dist/gdb/
gmp-utils.h 183 int sgn () const function in struct:gdb_mpz
187 { return sgn () != 0; }
467 int sgn () const function in struct:gdb_mpq

Completed in 55 milliseconds

1 2 3 4