/openbsd-current/games/trek/ |
H A D | torped.c | 230 if (abs(d) > 12) 239 damage(TORPED, 0.2 * abs(d) * (franf() + 1.0));
|
/openbsd-current/games/battlestar/ |
H A D | fly.c | 266 row += (rnd(9) - 4) % (4 - abs(row - MIDR)); 267 column += (rnd(9) - 4) % (4 - abs(column - MIDC));
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | override.t | 46 ok( abs($r - 5.006) < 0.001 && $r eq "\x05\x06" );
|
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/ |
H A D | usage.t | 18 [qw(abs alarm assert chdir closedir cos exit exp fabs fstat getc
|
H A D | wrappers.t | 42 is(POSIX::abs(-42), 42, 'abs'); 43 is(POSIX::abs(-3.14), 3.14, 'abs'); 44 is(POSIX::abs(POSIX::exp(1)), CORE::exp(1), 'abs');
|
/openbsd-current/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonBranchRelaxation.cpp | 174 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB]) 187 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB])
|
/openbsd-current/sys/lib/libkern/ |
H A D | libkern.h | 54 LIBKERN_INLINE int abs(int); 99 abs(int j) function
|
/openbsd-current/gnu/usr.bin/perl/dist/threads-shared/ |
H A D | shared.xs | 624 S_abs_2_rel_milli(double abs) 637 rel = (abs * 1000.) - (((double)now.i64 / 10000.) - EPOCH_BIAS); 646 # define ABS2RELMILLI(abs) \ 648 abs -= (double)time(NULL); \ 649 if (abs > 0) { abs *= 1000; } \ 650 else { abs = 0; } \ 658 Perl_sharedsv_cond_timedwait(perl_cond *cond, perl_mutex *mut, double abs) 669 switch (WaitForSingleObject(cond->sem, S_abs_2_rel_milli(abs))) { 685 ABS2RELMILLI(abs); [all...] |
/openbsd-current/games/hack/ |
H A D | hack.vault.c | 201 if(abs(gx-x) >= abs(gy-y)) 295 if(abs(gx-x) >= abs(gy-y)) nx += dx; else ny += dy;
|
/openbsd-current/gnu/usr.bin/perl/dist/Storable/ |
H A D | stacksize | 81 my $j = $i + abs(int(($bad - $i) / 2)); 92 my $j = $i - abs(int(($i - $good) / 2));
|
/openbsd-current/sys/dev/isa/ |
H A D | spkr.c | 260 if (abs(pitch - lastpitch) > 261 abs(pitch + OCTAVE_NOTES - lastpitch)) { 266 if (abs(pitch - lastpitch) > 267 abs(pitch - OCTAVE_NOTES - lastpitch)) {
|
/openbsd-current/gnu/llvm/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 144 if (AbsTolerance < std::abs(V1-V2)) { 148 Diff = std::abs(V1/V2 - 1.0); 150 Diff = std::abs(V2/V1 - 1.0); 157 << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n' 158 << "Out of tolerance: rel/abs: " << RelTolerance << '/'
|
/openbsd-current/gnu/usr.bin/gcc/gcc/config/xtensa/ |
H A D | lib1funcs.asm | 75 abs a3, a3 76 abs a2, a2 271 abs a6, a2 # udividend = abs(dividend) 272 abs a3, a3 # udivisor = abs(divisor) 400 abs a2, a2 # udividend = abs(dividend) 401 abs a3, a3 # udivisor = abs(diviso [all...] |
/openbsd-current/sys/dev/wscons/ |
H A D | wstpad.c | 289 rdy = abs(dy) * ratio; 290 if (abs(dx) * TAN_DEG_60 < rdy) 292 else if (abs(dx) * TAN_DEG_30 < rdy) 307 int diff = abs(dir1 - dir2); 369 h = abs(dx) * input->filter.h.mag_scale; 370 v = abs(dy) * input->filter.v.mag_scale; 651 dx = abs(t->x - tp->t->x) << 12; 652 dy = abs(t->y - tp->t->y) * tp->ratio; 711 dx = abs(t->x - t->orig.x) << 12; 712 dy = abs( [all...] |
/openbsd-current/gnu/usr.bin/perl/dist/Storable/t/ |
H A D | hugeids.t | 313 my $abs = File::Spec->catfile($dir, $exe); 314 -x $abs 315 and return $abs;
|
/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | overload64.t | 49 is(abs($oo), $ii, '0+ overload with abs()'); 98 is(abs($oo), $ii, '0+ overload with abs()'); 137 'abs' => sub { ${$_[0]} += 1; $ii }, 180 is(abs($oo), $ii, 'abs() overload'); 233 '(abs(%53m)+1) - $a53 == 1', # pp_abs
|
/openbsd-current/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionOptimizer.cpp | 258 const int NewImm = std::abs(OldImm + Correction); 400 std::abs(TrueImm - HeadImm) == 2) { 421 std::abs(TrueImm - HeadImm) == 1) {
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | builtin-abs-2.c | 1 /* Test for builtin abs, labs, llabs, imaxabs. Test for __builtin versions. */ 123 abs (int x) function
|
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_udp.t | 28 abs(length($a) - length ($b)),
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/ |
H A D | CFGUpdate.h | 87 assert(std::abs(NumInsertions) <= 1 && "Unbalanced operations!");
|
/openbsd-current/gnu/usr.bin/perl/ext/XS-APItest/t/ |
H A D | grok.t | 27 is($value, abs $string, "value is correct"); 47 is($value, abs $string, "value is correct");
|
/openbsd-current/gnu/llvm/clang/lib/AST/ |
H A D | CommentCommandTraits.cpp | 62 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size());
|
/openbsd-current/gnu/llvm/llvm/utils/ |
H A D | relative_lines.py | 67 if args.near > 0 and abs(target - line) > args.near:
|
/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
H A D | common_test.cpp | 88 EXPECT_LE(std::abs(Rss - AllocSize - Prev), Error);
|
/openbsd-current/gnu/usr.bin/texinfo/util/ |
H A D | texi2dvi | 459 abs=`cd "$dir" && pwd` && TEXINPUTS=$TEXINPUTS$path_sep$abs 475 abs=`cd "$dir" && pwd` && INDEXSTYLE=$INDEXSTYLE$path_sep$abs
|