/openbsd/games/hack/ |
H A D | hack.wizard.c | 166 buzz(-1,mtmp->mx,mtmp->my,sgn(tx),sgn(ty)); in inrange() 224 buzz(-rnd(3),mtmp->mx,mtmp->my,sgn(tx),sgn(ty)); in inrange()
|
H A D | hack.c | 665 dx = x - u.ux; adx = abs(dx); sdx = sgn(dx); in cansee() 666 dy = y - u.uy; ady = abs(dy); sdy = sgn(dy); in cansee() 713 sgn(int a) in sgn() function
|
H A D | hack.h | 239 int sgn(int);
|
/openbsd/lib/libm/src/ |
H A D | b_tgamma.c | 297 int sgn = 1; in neg_gam() local 309 sgn = -1; in neg_gam() 317 return ((double)sgn*tiny*tiny); in neg_gam() 326 if (sgn < 0) y = -y; in neg_gam() 334 if (sgn < 0) y = -y; in neg_gam()
|
H A D | e_jnf.c | 28 int32_t i,hx,ix, sgn; in jnf() local 46 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ in jnf() 155 if(sgn==1) return -b; else return b; in jnf()
|
H A D | e_jn.c | 52 int32_t i,hx,ix,lx, sgn; in jn() local 70 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ in jn() 202 if(sgn==1) return -b; else return b; in jn()
|
/openbsd/gnu/usr.bin/perl/dist/I18N-LangTags/t/ |
H A D | 07_listy.t | 16 ['sgn', 0], 17 ['sgn-us', 2],
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_libc.cpp | 233 int sgn = 1; in internal_simple_strtoll() local 238 sgn = 1; in internal_simple_strtoll() 241 sgn = -1; in internal_simple_strtoll() 254 if (sgn > 0) { in internal_simple_strtoll()
|
/openbsd/sys/dev/sbus/ |
H A D | cgtwelvereg.h | 174 u_int32_t sgn; member
|
/openbsd/gnu/usr.bin/perl/dist/Math-Complex/lib/Math/ |
H A D | Complex.pm | 616 my $sgn = $inverted ? -1 : 1; 617 return $sgn * ($re1 <=> $re2) if $re1 != $re2; 618 return $sgn * ($im1 <=> $im2);
|
/openbsd/gnu/llvm/compiler-rt/lib/msan/tests/ |
H A D | msan_test.cpp | 1981 int sgn; in TEST() local 1982 double res = lgamma_r(1.1, &sgn); in TEST() 1984 EXPECT_NOT_POISONED(sgn); in TEST() 1988 int sgn; in TEST() local 1989 float res = lgammaf_r(1.1, &sgn); in TEST() 1991 EXPECT_NOT_POISONED(sgn); in TEST() 1996 int sgn; in TEST() local 1997 long double res = lgammal_r(1.1, &sgn); in TEST() 1999 EXPECT_NOT_POISONED(sgn); in TEST()
|
/openbsd/gnu/usr.bin/binutils/gas/doc/ |
H A D | c-tic54x.texi | 185 @samp{$cvi}, @samp{$int}, and @samp{$sgn}, which return an integer 274 @cindex @code{$sgn} math builtin, TIC54X 275 @item @code{$sgn(@var{expr})}
|
/openbsd/gnu/usr.bin/binutils-2.17/gas/doc/ |
H A D | c-tic54x.texi | 185 @samp{$cvi}, @samp{$int}, and @samp{$sgn}, which return an integer 274 @cindex @code{$sgn} math builtin, TIC54X 275 @item @code{$sgn(@var{expr})}
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/ |
H A D | BigInt.pm | 604 my $sgn = $1; 606 $self->{sign} = $sgn || '+'; 622 my $sgn = $1 || '+'; 623 return $class -> binf($sgn, @r);
|
H A D | BigFloat.pm | 466 my $sgn = $1 || '+'; 467 return $class -> binf($sgn, @r);
|
/openbsd/gnu/usr.bin/binutils/gas/config/ |
H A D | obj-vms.c | 1235 int ival = 0, sgn = 1; in cvt_integer() local 1238 sgn = -1, ++str; in cvt_integer() 1241 *rtn = sgn * ival; in cvt_integer()
|
/openbsd/gnu/gcc/gcc/ |
H A D | tree-ssa-loop-ivopts.c | 2938 unsigned HOST_WIDE_INT off, sgn; in aff_combination_to_tree() local 2962 sgn = comb->mask; in aff_combination_to_tree() 2967 sgn = 1; in aff_combination_to_tree() 2969 return add_elt_to_tree (expr, type, build_int_cst_type (type, off), sgn, in aff_combination_to_tree()
|
/openbsd/gnu/gcc/gcc/config/bfin/ |
H A D | bfin.c | 2152 unsigned HOST_WIDE_INT sgn; in shiftr_zero() local 2158 sgn = tmp & ((unsigned HOST_WIDE_INT) 1 << (HOST_BITS_PER_WIDE_INT - 1)); in shiftr_zero() 2161 tmp = (tmp >> 1) | sgn; in shiftr_zero()
|
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/ |
H A D | README.txt | 91 Here's another example (the sgn function):
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/ |
H A D | bigfltpm.inc | 53 } elsif ($f =~ /^b(nan|floor|ceil|int|sstr|neg|abs|sgn|inc|dec|not|sqrt|exp)$/) {
|
H A D | bigintpm.inc | 80 } elsif ($f =~ /^b(nan|floor|ceil|int|sstr|neg|abs|sgn|inc|dec|not|sqrt|exp)$/) {
|
/openbsd/gnu/usr.bin/gcc/gcc/f/ |
H A D | com.c | 5443 int sgn = tree_int_cst_sgn (r); in ffecom_expr_power_integer_() local 5445 if (sgn == 0) in ffecom_expr_power_integer_() 5449 && (sgn < 0)) in ffecom_expr_power_integer_() 5472 if (sgn < 0) in ffecom_expr_power_integer_()
|