/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/tic54x/ |
H A D | math.s | 27 .int $sgn(-1.0)
28 .int $sgn(0)
29 .int $sgn(1)
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ |
H A D | wide-int-print.h | 29 extern void print_dec (const wide_int_ref &wi, char *buf, signop sgn); 30 extern void print_dec (const wide_int_ref &wi, FILE *file, signop sgn);
|
H A D | wide-int-print.cc | 33 print_dec (const wide_int_ref &wi, char *buf, signop sgn) argument 35 if (sgn == SIGNED) 42 print_dec (const wide_int_ref &wi, FILE *file, signop sgn) argument 44 if (sgn == SIGNED)
|
H A D | wide-int.h | 611 SHIFT_FUNCTION rshift (const T1 &, const T2 &, signop sgn); 1053 signop sgn); 1169 signop sgn) 1173 x.precision, precision, sgn)); 1305 fixed_wide_int_storage <N>::from (const wide_int_ref &x, signop sgn) argument 1309 x.precision, N, sgn)); 1585 signop sgn; member in class:wi::hwi_with_prec 1599 : precision (p), sgn (s) 1702 if (x.sgn == SIGNED || x.val >= 0 || precision <= HOST_BITS_PER_WIDE_INT) 1831 wi::neg_p (const T &x, signop sgn) argument 1168 from(const wide_int_ref &x, unsigned int precision, signop sgn) argument 1956 lt_p(const T1 &x, const T2 &y, signop sgn) argument 1983 le_p(const T1 &x, const T2 &y, signop sgn) argument 2010 gt_p(const T1 &x, const T2 &y, signop sgn) argument 2037 ge_p(const T1 &x, const T2 &y, signop sgn) argument 2128 cmp(const T1 &x, const T2 &y, signop sgn) argument 2227 ext(const T &x, unsigned int offset, signop sgn) argument 2254 min(const T1 &x, const T2 &y, signop sgn) argument 2285 max(const T1 &x, const T2 &y, signop sgn) argument 2463 add(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2549 sub(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2612 mul(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2646 mul_high(const T1 &x, const T2 &y, signop sgn) argument 2663 div_trunc(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2698 div_floor(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2740 div_ceil(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2773 div_round(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2815 divmod_trunc(const T1 &x, const T2 &y, signop sgn, WI_BINARY_RESULT (T1, T2) *remainder_ptr) argument 2839 gcd(const T1 &a, const T2 &b, signop sgn) argument 2861 mod_trunc(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2900 mod_floor(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2936 mod_ceil(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2962 mod_round(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 3004 multiple_of_p(const T1 &x, const T2 &y, signop sgn) argument 3013 multiple_of_p(const T1 &x, const T2 &y, signop sgn, WI_BINARY_RESULT (T1, T2) *res) argument 3150 rshift(const T1 &x, const T2 &y, signop sgn) argument 3235 min_precision(const T &x, signop sgn) argument [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | wide-int-print.h | 29 extern void print_dec (const wide_int_ref &wi, char *buf, signop sgn); 30 extern void print_dec (const wide_int_ref &wi, FILE *file, signop sgn);
|
H A D | wide-int-print.cc | 33 print_dec (const wide_int_ref &wi, char *buf, signop sgn) argument 35 if (sgn == SIGNED) 42 print_dec (const wide_int_ref &wi, FILE *file, signop sgn) argument 44 if (sgn == SIGNED)
|
H A D | wide-int.h | 611 SHIFT_FUNCTION rshift (const T1 &, const T2 &, signop sgn); 1053 signop sgn); 1169 signop sgn) 1173 x.precision, precision, sgn)); 1305 fixed_wide_int_storage <N>::from (const wide_int_ref &x, signop sgn) argument 1309 x.precision, N, sgn)); 1587 signop sgn; member in class:wi::hwi_with_prec 1601 : precision (p), sgn (s) 1704 if (x.sgn == SIGNED || x.val >= 0 || precision <= HOST_BITS_PER_WIDE_INT) 1833 wi::neg_p (const T &x, signop sgn) argument 1168 from(const wide_int_ref &x, unsigned int precision, signop sgn) argument 1958 lt_p(const T1 &x, const T2 &y, signop sgn) argument 1985 le_p(const T1 &x, const T2 &y, signop sgn) argument 2012 gt_p(const T1 &x, const T2 &y, signop sgn) argument 2039 ge_p(const T1 &x, const T2 &y, signop sgn) argument 2130 cmp(const T1 &x, const T2 &y, signop sgn) argument 2229 ext(const T &x, unsigned int offset, signop sgn) argument 2256 min(const T1 &x, const T2 &y, signop sgn) argument 2287 max(const T1 &x, const T2 &y, signop sgn) argument 2465 add(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2551 sub(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2614 mul(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2648 mul_high(const T1 &x, const T2 &y, signop sgn) argument 2665 div_trunc(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2700 div_floor(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2742 div_ceil(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2775 div_round(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2817 divmod_trunc(const T1 &x, const T2 &y, signop sgn, WI_BINARY_RESULT (T1, T2) *remainder_ptr) argument 2841 gcd(const T1 &a, const T2 &b, signop sgn) argument 2863 mod_trunc(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2902 mod_floor(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2938 mod_ceil(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 2964 mod_round(const T1 &x, const T2 &y, signop sgn, overflow_type *overflow) argument 3006 multiple_of_p(const T1 &x, const T2 &y, signop sgn) argument 3015 multiple_of_p(const T1 &x, const T2 &y, signop sgn, WI_BINARY_RESULT (T1, T2) *res) argument 3152 rshift(const T1 &x, const T2 &y, signop sgn) argument 3234 min_precision(const T &x, signop sgn) argument [all...] |
/netbsd-current/external/lgpl3/mpc/dist/tests/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/netbsd-current/external/mit/isl/dist/ |
H A D | 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 [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/libbid/ |
H A D | bid_internal.h | 829 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-current/external/gpl3/gcc/dist/libgcc/config/libbid/ |
H A D | bid_internal.h | 829 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 1624 handle_UF_128(UINT128 * pres, UINT64 sgn, int expon, UINT128 CQ, unsigned *prounding_mode, unsigned *fpsc) argument 1877 get_BID128_very_fast_OF(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff, unsigned *prounding_mode, unsigned *fpsc) argument 1941 get_BID128_very_fast(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument 1957 get_BID128_fast(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument 1981 get_BID128(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff, unsigned *prounding_mode, unsigned *fpsc) argument 2063 get_BID128_string(UINT128 * pres, UINT64 sgn, int expon, UINT128 coeff) argument 2185 get_BID32(UINT32 sgn, int expon, UINT64 coeff, int rmode, unsigned *fpsc) argument 2354 very_fast_get_BID32(UINT32 sgn, int expon, UINT32 coeff) argument [all...] |
/netbsd-current/external/lgpl3/mpc/dist/src/ |
H A D | mpc-impl.h | 82 /* Return non-zero if 'rnd' rounds towards zero, for a number of sign 'sgn' */ 83 #define MPC_IS_LIKE_RNDZ(rnd, sgn) \ 84 ((rnd==MPFR_RNDZ) || (sgn<0 && rnd==MPFR_RNDU) || (sgn>0 && rnd==MPFR_RNDD)) 86 /* Return non-zero if 'rnd' rounds away from zero for a number of sign 'sgn' */ 87 #define MPC_IS_LIKE_RNDA(rnd, sgn) \ 88 ((sgn<0 && rnd==MPFR_RNDD) || (sgn>0 && rnd==MPFR_RNDU))
|
/netbsd-current/external/lgpl3/gmp/dist/tests/cxx/ |
H A D | t-ops2qf.cc | 67 ASSERT_ALWAYS(sgn(T(0))==0); 68 ASSERT_ALWAYS(sgn(T(9))==1); 69 ASSERT_ALWAYS(sgn(T(-17))==-1);
|
H A D | t-ops2z.cc | 65 ASSERT_ALWAYS(sgn(mpz_class(0))==0); 66 ASSERT_ALWAYS(sgn(mpz_class(9))==1); 67 ASSERT_ALWAYS(sgn(mpz_class(-17))==-1);
|
/netbsd-current/sys/lib/libkern/arch/m68k/ |
H A D | divsi3.S | 64 bpl 3f | branch if sgn(divisor) == sgn(dividend)
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/ppc/ |
H A D | xcoff-br16-1.d | 8 vaddr sgn mod sz type symndx symbol
|
H A D | xcoff-br16-2.d | 8 vaddr sgn mod sz type symndx symbol
|
/netbsd-current/external/gpl3/gcc/dist/libquadmath/math/ |
H A D | 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 * hug [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libquadmath/math/ |
H A D | 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 * hug [all...] |
/netbsd-current/games/hack/ |
H A D | hack.wizard.c | 174 buzz(-1, mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); 249 buzz(-rnd(3), mtmp->mx, mtmp->my, sgn(tx), sgn(ty));
|
/netbsd-current/lib/libm/src/ |
H A D | 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;
|
/netbsd-current/usr.sbin/bta2dpd/cosdata-gen/ |
H A D | cosdata.c | 93 cosprint(int lim, int sgn) argument 98 int dk = sgn * lim * 2; 103 sgn == -1 ? "" : "dec", mi, mi, mk);
|
/netbsd-current/sys/arch/sparc64/sparc64/ |
H A D | emul.c | 150 unsigned sgn:1; /* sign bit */ member in struct:__anon9185::__anon9186 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:__anon9187::__anon9188 286 op.bits.st ? "st" : "ld", "us"[op.bits.sgn], 337 if (op.bits.sgn && (data.s[1] & 0x8000) != 0)
|
/netbsd-current/sys/arch/sparc/sparc/ |
H A D | emul.c | 151 unsigned sgn:1; /* sign bit */ member in struct:__anon16844::__anon16845 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:__anon16846::__anon16847 295 op.bits.st ? "st" : "ld", "us"[op.bits.sgn], 346 if (op.bits.sgn && (data.s[1] & 0x8000) != 0)
|