Searched refs:sgn (Results 1 - 25 of 40) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/i386/
H A Dcmov7.c13 sgn (double __x) function
H A Dpr17390.c4 double sgn (double __x) function
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/tic54x/
H A Dmath.s27 .int $sgn(-1.0)
28 .int $sgn(0)
29 .int $sgn(1)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/
H A Dpr32293.c28 get_BID32 (UINT32 sgn, int expon, UINT64 coeff, int rmode, argument
33 r = sgn | 0x78000000ul;
36 if (sgn)
37 r = sgn | 0x77f8967f;
/netbsd-6-1-5-RELEASE/common/lib/libc/arch/m68k/gen/
H A Ddivsi3.S61 bpl 3f | branch if sgn(divisor) == sgn(dividend)
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgcc/config/libbid/
H A Dbid_internal.h829 get_BID64 (UINT64 sgn, int expon, UINT64 coeff, int rmode, argument
851 if (rmode == ROUNDING_DOWN && sgn)
853 if (rmode == ROUNDING_UP && !sgn)
858 return sgn;
862 if (sgn && (unsigned) (rmode - 1) < 2)
949 return sgn | C64;
960 r = sgn | INFINITY_MASK64;
963 if (!sgn)
967 r = sgn | LARGEST_BID64;
971 if (sgn)
1016 fast_get_BID64(UINT64 sgn, int expon, UINT64 coeff) argument
1055 fast_get_BID64_check_OF(UINT64 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
1132 very_fast_get_BID64(UINT64 sgn, int expon, UINT64 coeff) argument
1161 very_fast_get_BID64_small_mantissa(UINT64 sgn, int expon, UINT64 coeff) argument
1176 get_BID64_UF(UINT64 sgn, int expon, UINT64 coeff, UINT64 R, int rmode, unsigned *fpsc) argument
1303 get_BID64_small_mantissa(UINT64 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
1481 handle_UF_128_rem(UINT128 * pres, UINT64 sgn, int expon, UINT128 CQ, UINT64 R, unsigned *prounding_mode, unsigned *fpsc) argument
1626 handle_UF_128(UINT128 * pres, UINT64 sgn, int expon, UINT128 CQ, unsigned *prounding_mode, unsigned *fpsc) argument
1881 get_BID128_very_fast_OF(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff, unsigned *prounding_mode, unsigned *fpsc) argument
1945 get_BID128_very_fast(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument
1961 get_BID128_fast(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument
1985 get_BID128(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff, unsigned *prounding_mode, unsigned *fpsc) argument
2067 get_BID128_string(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument
2189 get_BID32(UINT32 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument
2358 very_fast_get_BID32(UINT32 sgn, int expon, UINT32 coeff) argument
[all...]
/netbsd-6-1-5-RELEASE/games/hack/
H A Dhack.wizard.c174 buzz(-1, mtmp->mx, mtmp->my, sgn(tx), sgn(ty));
249 buzz(-rnd(3), mtmp->mx, mtmp->my, sgn(tx), sgn(ty));
H A Dextern.h58 int sgn(int);
H A Dhack.c711 sdx = sgn(dx);
714 sdy = sgn(dy);
761 sgn(int a) function
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/tests/
H A Dtsubnormal.c97 const char *sgn = s ? "-" : ""; local
100 sgn, tab[i].in, sgn, tab[i].out);
/netbsd-6-1-5-RELEASE/lib/libm/src/
H A De_jnf.c36 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;
H A Db_tgamma.c278 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;
H A De_jn.c58 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;
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/sparc64/
H A Demul.c150 unsigned sgn:1; /* sign bit */ member in struct:__anon6583::__anon6584
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:__anon6585::__anon6586
286 op.bits.st ? "st" : "ld", "us"[op.bits.sgn],
337 if (op.bits.sgn && (data.s[1] & 0x8000) != 0)
/netbsd-6-1-5-RELEASE/sys/arch/sparc/sparc/
H A Demul.c151 unsigned sgn:1; /* sign bit */ member in struct:__anon6498::__anon6499
160 "us"[op.bits.sgn], op.bits.div ? "div" : "mul",
195 if (op.bits.sgn && *rd < 0)
230 unsigned sgn:1; /* 1 bit sign */ member in struct:__anon6500::__anon6501
287 op.bits.st ? "st" : "ld", "us"[op.bits.sgn],
338 if (op.bits.sgn && (data.s[1] & 0x8000) != 0)
/netbsd-6-1-5-RELEASE/lib/libm/noieee_src/
H A Dn_gamma.c292 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;
H A Dn_jn.c113 int i, sgn; local
130 sgn = (n&1)&(x < zero); /* even n -- 0, odd n -- sign(x) */
259 return ((sgn == 1) ? -b : b);
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/demos/perl/
H A Dtest.pl2105 # GMP::sgn
2107 ok (sgn(-123) == -1);
2108 ok (sgn(0) == 0);
2109 ok (sgn(123) == 1);
2111 ok (sgn($uv_max) == 1);
2113 ok (sgn(-123.0) == -1);
2114 ok (sgn(0.0) == 0);
2115 ok (sgn(123.0) == 1);
2117 ok (sgn('-123') == -1);
2118 ok (sgn('
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/cxx/
H A Dt-ops.cc77 // sgn
80 int b = sgn(a); ASSERT_ALWAYS(b == 1);
84 int b = sgn(a); ASSERT_ALWAYS(b == 0);
88 int b = sgn(a); ASSERT_ALWAYS(b == -1);
447 // sgn
450 int b = sgn(a); ASSERT_ALWAYS(b == 1);
454 int b = sgn(a); ASSERT_ALWAYS(b == 0);
458 int b = sgn(a); ASSERT_ALWAYS(b == -1);
617 // sgn
620 int b = sgn(
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dgamma.c287 int underflow = 0, sgn, ck; local
315 sgn = mpfr_sgn (tmp);
336 return mpfr_underflow (gamma, (rnd_mode == MPFR_RNDN) ? MPFR_RNDZ : rnd_mode, -sgn);
H A DMakefile.am50 cmp_d.c erf.c inits.c inits2.c clears.c sgn.c check.c sub1sp.c \
/netbsd-6-1-5-RELEASE/sys/arch/ia64/include/
H A Ddig64.h132 uint8_t sgn; /* PCI Segment Group Number */ member in struct:dig64_pci_spec
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dtree-affine.c415 double_int off, sgn; local
431 sgn = double_int_minus_one;
436 sgn = double_int_one;
438 return add_elt_to_tree (expr, type, double_int_to_tree (type1, off), sgn,
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/lib/libmpfr/
H A DMakefile199 sgn.c \
381 sgn.c \
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/mtest/
H A Dmpi.c1054 mp_sign sgn; local
1058 sgn = (SIGN(a) == SIGN(b)) ? MP_ZPOS : MP_NEG;
1072 if(sgn == MP_ZPOS || s_mp_cmp_d(c, 0) == MP_EQ)
1075 SIGN(c) = sgn;
2559 mp_sign sgn; local
2567 sgn = SIGN(&tmp); SIGN(&tmp) = MP_ZPOS;
2583 if(sgn == MP_NEG)

Completed in 264 milliseconds

12