Home
last modified time | relevance | path

Searched refs:sgn (Results 1 – 22 of 22) sorted by relevance

/openbsd/games/hack/
H A Dhack.wizard.c166 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 Dhack.c665 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 Dhack.h239 int sgn(int);
/openbsd/lib/libm/src/
H A Db_tgamma.c297 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 De_jnf.c28 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 De_jn.c52 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 D07_listy.t16 ['sgn', 0],
17 ['sgn-us', 2],
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.cpp233 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 Dcgtwelvereg.h174 u_int32_t sgn; member
/openbsd/gnu/usr.bin/perl/dist/Math-Complex/lib/Math/
H A DComplex.pm616 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 Dmsan_test.cpp1981 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 Dc-tic54x.texi185 @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 Dc-tic54x.texi185 @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 DBigInt.pm604 my $sgn = $1;
606 $self->{sign} = $sgn || '+';
622 my $sgn = $1 || '+';
623 return $class -> binf($sgn, @r);
H A DBigFloat.pm466 my $sgn = $1 || '+';
467 return $class -> binf($sgn, @r);
/openbsd/gnu/usr.bin/binutils/gas/config/
H A Dobj-vms.c1235 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 Dtree-ssa-loop-ivopts.c2938 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 Dbfin.c2152 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 DREADME.txt91 Here's another example (the sgn function):
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Dbigfltpm.inc53 } elsif ($f =~ /^b(nan|floor|ceil|int|sstr|neg|abs|sgn|inc|dec|not|sqrt|exp)$/) {
H A Dbigintpm.inc80 } 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 Dcom.c5443 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_()