Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 1303) sorted by relevance

12345678910>>...53

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dstd_abs.h44 #undef abs
52 using ::abs; in _GLIBCXX_VISIBILITY()
56 abs(long __i) { return __builtin_labs(__i); } in _GLIBCXX_VISIBILITY()
61 abs(long long __x) { return __builtin_llabs (__x); } in _GLIBCXX_VISIBILITY()
71 abs(double __x) in _GLIBCXX_VISIBILITY()
75 abs(float __x) in _GLIBCXX_VISIBILITY()
79 abs(long double __x) in _GLIBCXX_VISIBILITY()
85 abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; } in _GLIBCXX_VISIBILITY()
89 abs(__GLIBCXX_TYPE_INT_N_1 __x) { return __x >= 0 ? __x : -__x; } in _GLIBCXX_VISIBILITY()
93 abs(__GLIBCXX_TYPE_INT_N_2 __x) { return __x >= 0 ? __x : -__x; } in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dstd_abs.h44 #undef abs
52 using ::abs; in _GLIBCXX_VISIBILITY()
56 abs(long __i) { return __builtin_labs(__i); } in _GLIBCXX_VISIBILITY()
61 abs(long long __x) { return __builtin_llabs (__x); } in _GLIBCXX_VISIBILITY()
71 abs(double __x) in _GLIBCXX_VISIBILITY()
75 abs(float __x) in _GLIBCXX_VISIBILITY()
79 abs(long double __x) in _GLIBCXX_VISIBILITY()
85 abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; } in _GLIBCXX_VISIBILITY()
89 abs(__GLIBCXX_TYPE_INT_N_1 __x) { return __x >= 0 ? __x : -__x; } in _GLIBCXX_VISIBILITY()
93 abs(__GLIBCXX_TYPE_INT_N_2 __x) { return __x >= 0 ? __x : -__x; } in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/sys/arch/arm/acpi/
H A Dacpipchb.c220 struct acpipchb_bus_space * const abs = t; in acpipchb_bus_space_map() local
226 if ((abs->flags & PCI_FLAGS_IO_OKAY) != 0) { in acpipchb_bus_space_map()
231 for (i = 0; i < abs->nrange; i++) { in acpipchb_bus_space_map()
232 struct acpipchb_bus_range * const range = &abs->range[i]; in acpipchb_bus_space_map()
234 return abs->map(t, bpa + range->offset, size, in acpipchb_bus_space_map()
248 struct acpipchb_bus_space *abs; in acpipchb_setup_ranges_cb() local
260 abs = &sc->sc_pciio_bst; in acpipchb_setup_ranges_cb()
265 abs = &sc->sc_pcimem_bst; in acpipchb_setup_ranges_cb()
273 if (abs->nrange == ACPIPCHB_MAX_RANGES) { in acpipchb_setup_ranges_cb()
279 range = &abs in acpipchb_setup_ranges_cb()
[all...]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/asm/
H A Dabs.ms8 abs r3,r3
16 abs r4,r3
21 abs r4,r3
26 abs r3,r3
31 abs r6,r3
36 abs r3,r3
41 abs r5,r3
46 abs r5,r3
/netbsd-src/external/gpl3/binutils.old/dist/gas/doc/
H A Dc-h8300.texi211 abs @r{absolute address}
219 * add.w #imm,rd band #imm,@@abs:8
234 * bcc pcrel:16 bld #imm,@@abs:8
237 bcs pcrel:8 bnot #imm,@@abs:8
240 * blo pcrel:16 bnot rs,@@abs:8
243 beq pcrel:8 bor #imm,@@abs:8
246 * bvc pcrel:16 bset #imm,@@abs:8
249 bpl pcrel:8 bset rs,@@abs:8
254 * bge pcrel:16 bst #imm,@@abs:8
257 bgt pcrel:8 btst #imm,@@abs:8
[all …]
/netbsd-src/external/gpl3/binutils/dist/gas/doc/
H A Dc-h8300.texi211 abs @r{absolute address}
219 * add.w #imm,rd band #imm,@@abs:8
234 * bcc pcrel:16 bld #imm,@@abs:8
237 bcs pcrel:8 bnot #imm,@@abs:8
240 * blo pcrel:16 bnot rs,@@abs:8
243 beq pcrel:8 bor #imm,@@abs:8
246 * bvc pcrel:16 bset #imm,@@abs:8
249 bpl pcrel:8 bset rs,@@abs:8
254 * bge pcrel:16 bst #imm,@@abs:8
257 bgt pcrel:8 btst #imm,@@abs:8
[all …]
/netbsd-src/games/backgammon/common_source/
H A Dfancy.c214 n = abs(b); /* initialize n and pc */ in bsect()
320 ov = abs(cur); in fixpos()
321 nv = abs(new); in fixpos()
334 abs(ov - nv), ' ', inc); in fixpos()
337 abs(ov - nv), col, inc); in fixpos()
343 fixcol(r, c, abs(nv - 5), col, in fixpos()
347 c + 1, abs(ov - 5), in fixpos()
350 fixcol(r, c, abs(ov - 5), ' ', in fixpos()
354 c + 1, abs(nv - 5), in fixpos()
362 abs(o in fixpos()
[all...]
H A Done.c53 n = abs(mm->g[i] - mm->p[i]); in makmove()
80 if (abs(bar - mm->g[i]) < 7) { in makmove()
87 if (abs(home - mm->g[i]) < 7 && abs(home - mm->p[i]) > 6) { in makmove()
136 return (abs(home - i)); in last()
155 if (abs(mm->g[i] - home) < 7 && abs(mm->p[i] - home) > 6) { in backone()
167 if (abs(bar - mm->g[i]) < 7) { in backone()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dstdlib.h99 #undef abs
107 inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT { in abs() function
111 inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT { in abs() function
118 inline _LIBCPP_INLINE_VISIBILITY float abs(float __lcpp_x) _NOEXCEPT { in abs() function
122 inline _LIBCPP_INLINE_VISIBILITY double abs(double __lcpp_x) _NOEXCEPT { in abs() function
127 abs(long double __lcpp_x) _NOEXCEPT { in abs() function
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
H A Dbessel_function.tcc111 if (std::abs(__mu) < std::numeric_limits<_Tp>::epsilon()) in __gamma_temme()
193 if (std::abs(__d) < __fp_min) in __bessel_jn()
196 if (std::abs(__c) < __fp_min) in __bessel_jn()
203 if (std::abs(__del - _Tp(1)) < __eps) in __bessel_jn()
229 _Tp __fact = (std::abs(__pimu) < __eps in __bessel_jn()
233 _Tp __fact2 = (std::abs(__e) < __eps in __bessel_jn()
243 _Tp __fact3 = (std::abs(__pimu2) < __eps in __bessel_jn()
260 if ( std::abs(__del) < __eps * (_Tp(1) + std::abs(__sum)) ) in __bessel_jn()
296 if (std::abs(__dr) + std::abs(__di) < __fp_min) in __bessel_jn()
301 if (std::abs(__cr) + std::abs(__ci) < __fp_min) in __bessel_jn()
[all …]
H A Dhypergeometric.tcc97 if (std::abs(__term) < __eps) in __conf_hyperg_series()
169 __prec = std::abs((__F - __r) / __F); in __conf_hyperg_luke()
175 if (std::abs(__An) > __big || std::abs(__Bn) > __big) in __conf_hyperg_luke()
186 else if (std::abs(__An) < _Tp(1) / __big in __conf_hyperg_luke()
187 || std::abs(__Bn) < _Tp(1) / __big) in __conf_hyperg_luke()
285 if (std::abs(__term) < __eps) in __hyperg_series()
361 const _Tp __prec = std::abs((__F - __r) / __F); in __hyperg_luke()
367 if (std::abs(__An) > __big || std::abs(__Bn) > __big) in __hyperg_luke()
378 else if (std::abs(__An) < _Tp(1) / __big in __hyperg_luke()
379 || std::abs(__Bn) < _Tp(1) / __big) in __hyperg_luke()
[all …]
H A Dell_integral.tcc113 _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev)); in __ellint_rf()
114 __epsilon = std::max(__epsilon, std::abs(__zndev)); in __ellint_rf()
198 else if (std::abs(__k) >= _Tp(1)) in __comp_ellint_1()
226 else if (std::abs(__k) > _Tp(1)) in __ellint_1()
353 _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev)); in __ellint_rd()
354 __epsilon = std::max(__epsilon, std::abs(__zndev)); in __ellint_rd()
406 else if (std::abs(__k) == 1) in __comp_ellint_2()
408 else if (std::abs(__k) > _Tp(1)) in __comp_ellint_2()
440 else if (std::abs(__k) > _Tp(1)) in __ellint_2()
523 if (std::abs(__sn) < __errtol) in __ellint_rc()
[all …]
H A Dexp_integral.tcc93 if (std::abs(__term) < __eps) in __expint_E1_series()
130 if (std::abs(__term) > std::abs(__prev)) in __expint_E1_asymp()
180 if (std::abs(__del) < __eps * std::abs(__ans)) in __expint_En_series()
221 if (std::abs(__del - _Tp(1)) < __eps) in __expint_En_cont_frac()
418 if (std::abs(__term) > std::abs(__prev)) in __expint_asymp()
454 if (std::abs(__term) < std::numeric_limits<_Tp>::epsilon()) in __expint_large_n()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/
H A Dbessel_function.tcc111 if (std::abs(__mu) < std::numeric_limits<_Tp>::epsilon()) in __gamma_temme()
193 if (std::abs(__d) < __fp_min) in __bessel_jn()
196 if (std::abs(__c) < __fp_min) in __bessel_jn()
203 if (std::abs(__del - _Tp(1)) < __eps) in __bessel_jn()
229 _Tp __fact = (std::abs(__pimu) < __eps in __bessel_jn()
233 _Tp __fact2 = (std::abs(__e) < __eps in __bessel_jn()
243 _Tp __fact3 = (std::abs(__pimu2) < __eps in __bessel_jn()
260 if ( std::abs(__del) < __eps * (_Tp(1) + std::abs(__sum)) ) in __bessel_jn()
296 if (std::abs(__dr) + std::abs(__di) < __fp_min) in __bessel_jn()
301 if (std::abs(__cr) + std::abs(__ci) < __fp_min) in __bessel_jn()
[all …]
H A Dhypergeometric.tcc97 if (std::abs(__term) < __eps) in __conf_hyperg_series()
169 __prec = std::abs((__F - __r) / __F); in __conf_hyperg_luke()
175 if (std::abs(__An) > __big || std::abs(__Bn) > __big) in __conf_hyperg_luke()
186 else if (std::abs(__An) < _Tp(1) / __big in __conf_hyperg_luke()
187 || std::abs(__Bn) < _Tp(1) / __big) in __conf_hyperg_luke()
285 if (std::abs(__term) < __eps) in __hyperg_series()
361 const _Tp __prec = std::abs((__F - __r) / __F); in __hyperg_luke()
367 if (std::abs(__An) > __big || std::abs(__Bn) > __big) in __hyperg_luke()
378 else if (std::abs(__An) < _Tp(1) / __big in __hyperg_luke()
379 || std::abs(__Bn) < _Tp(1) / __big) in __hyperg_luke()
[all …]
H A Dell_integral.tcc115 _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev)); in __ellint_rf()
116 __epsilon = std::max(__epsilon, std::abs(__zndev)); in __ellint_rf()
200 else if (std::abs(__k) >= _Tp(1)) in __comp_ellint_1()
228 else if (std::abs(__k) > _Tp(1)) in __ellint_1()
357 _Tp __epsilon = std::max(std::abs(__xndev), std::abs(__yndev)); in __ellint_rd()
358 __epsilon = std::max(__epsilon, std::abs(__zndev)); in __ellint_rd()
410 else if (std::abs(__k) == 1) in __comp_ellint_2()
412 else if (std::abs(__k) > _Tp(1)) in __comp_ellint_2()
444 else if (std::abs(__k) > _Tp(1)) in __ellint_2()
529 if (std::abs(__sn) < __errtol) in __ellint_rc()
[all …]
H A Dexp_integral.tcc93 if (std::abs(__term) < __eps) in __expint_E1_series()
130 if (std::abs(__term) > std::abs(__prev)) in __expint_E1_asymp()
180 if (std::abs(__del) < __eps * std::abs(__ans)) in __expint_En_series()
221 if (std::abs(__del - _Tp(1)) < __eps) in __expint_En_cont_frac()
418 if (std::abs(__term) > std::abs(__prev)) in __expint_asymp()
454 if (std::abs(__term) < std::numeric_limits<_Tp>::epsilon()) in __expint_large_n()
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Dabs_acc.s10 A0=abs A0;
40 A1=abs A1;
72 A0 = abs A1;
104 A1 = abs A0;
139 A1=abs A1, A0=abs A0;
169 A1=abs A1, A0=abs A0;
198 r1=abs r0;
/netbsd-src/sys/arch/atari/dev/
H A Dgrfabs.c195 dx = abs(dm->size.width - dim->width); in get_best_display_mode()
196 dy = abs(dm->size.height - dim->height); in get_best_display_mode()
197 dd = abs(dm->depth - depth); in get_best_display_mode()
217 dx = abs(curr_mode->size.width - dim->width); in get_best_display_mode()
218 dy = abs(curr_mode->size.height - dim->height); in get_best_display_mode()
219 dd = abs(curr_mode->depth - depth); in get_best_display_mode()
/netbsd-src/games/sail/
H A Dmisc.c50 (abs(x) >= abs(y) ? abs(x) + abs(y)/2 : abs(y) + abs(x)/2)
122 Dr = abs(Dr); in angle()
123 Dc = abs(Dc); in angle()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dcomplex.d374 immutable r = abs(this);
406 immutable ab = abs(this)^^r;
468 assert(approxEqual(abs(ctc), abs(c1)*abs(c2), EPS));
472 assert(approxEqual(abs(cdc), abs(c1)/abs(c2), EPS));
495 assert(approxEqual(abs(cdr), abs(c1)/a, EPS));
499 assert(approxEqual(abs(cer), abs(c1)^^3, EPS));
513 assert(approxEqual(abs(rdc), a/abs(c1), EPS));
517 assert(approxEqual(abs(rdc), a/abs(c2), EPS));
529 assert(approxEqual(abs(rec1b), std.math.exp(-PI * c1.im), EPS));
537 assert(approxEqual(abs(rec2b), std.math.exp(-2 * PI), EPS));
[all …]
/netbsd-src/games/backgammon/backgammon/
H A Dmove.c435 op += abs(bar - i); in movcmp()
439 pt += abs(bar - i); in movcmp()
446 em = abs(home - em); in movcmp()
478 barmen = abs(board[home]); in movcmp()
527 n = barmen - abs(board[home]); in movegood()
531 if (abs(chance - ch) + 25 * n > rnum(150)) in movegood()
541 if (abs(openmen - op) > 7 + rnum(12)) in movegood()
551 if (abs(endman - em) > rnum(2)) in movegood()
556 if (abs(frc - oldfrc) > rnum(2)) in movegood()
561 if (abs(n = pt - points) > rnum(4)) in movegood()
[all …]
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_ccu_display.c54 diff = abs(new_rate - rate); in sunxi_ccu_lcdxch0_set_rate()
57 diff_x2 = abs(new_rate - rate_x2); in sunxi_ccu_lcdxch0_set_rate()
88 diff = abs(try_rate - rate); in sunxi_ccu_lcdxch0_round_rate()
91 diff_x2 = abs(try_rate - rate_x2); in sunxi_ccu_lcdxch0_round_rate()
120 diff = abs(rate - new_rate); in sunxi_ccu_lcdxch1_set_rate()
/netbsd-src/sys/dev/videomode/
H A Dpickmode.c81 diff = abs(mref - refresh); in pick_mode_by_ref()
171 rtemp = abs(refresh - in sort_modes()
181 if (abs(abest - atemp) > (abest / 8) && in sort_modes()
182 abs(aspect - atemp) < abs(aspect - abest)) { in sort_modes()
187 abs(abest - atemp) <= (abest / 8)) { in sort_modes()
/netbsd-src/games/monop/
H A Dhouses.c167 (abs(result[0] - result[1]) > 1 || in buy_h()
168 abs(result[0] - result[2]) > 1 || in buy_h()
169 abs(result[1] - result[2]) > 1)) { in buy_h()
173 else if (mp->num_in == 2 && abs(result[0] - result[1]) > 1) in buy_h()
303 if (mp->num_in == 3 && (abs(temp[0] - temp[1]) > 1 || in sell_h()
304 abs(temp[0] - temp[2]) > 1 || abs(temp[1] - temp[2]) > 1)) { in sell_h()
308 else if (mp->num_in == 2 && abs(temp[0] - temp[1]) > 1) in sell_h()

12345678910>>...53