Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd/contrib/bc/tests/bc/
H A Dabs.txt1 abs(0)
2 abs(1)
3 abs(.289365)
4 abs(289.82937658)
5 abs(-19)
6 abs(-.2098180)
7 abs(-198289.1098376)
H A Dassignments.txt64 abs(i--)
65 abs(--i)
66 abs(++i)
67 abs(i++)
/freebsd/contrib/bc/gen/
H A Dlib2.bc69 p=abs(p)$
71 x=abs(x)
80 p=abs(p)$
82 x=abs(x)
89 n=abs(n)$
104 n=abs(n)$
105 k=abs(k)$
168 x=abs(x)
533 define bshl(a,b){return abs(a)$*2^abs(b)$}
534 define bshr(a,b){return(abs(a)$/2^abs(b)$)$}
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstdlib.h101 # ifdef abs
102 # undef abs
113 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI long abs(long __x) _NOEXCEPT { return __builtin_… in abs() function
114 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI long long abs(long long __x) _NOEXCEPT { in abs() function
119 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI float abs(float __lcpp_x) _NOEXCEPT { in abs() function
123 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI double abs(double __lcpp_x) _NOEXCEPT { in abs() function
127 _LIBCPP_NODISCARD_EXT inline _LIBCPP_HIDE_FROM_ABI long double abs(long double __lcpp_x) _NOEXCEPT { in abs() function
/freebsd/contrib/bsddialog/lib/
H A Dmenubox.c113 abs = 0; in build_privatemenu()
144 abs++; in build_privatemenu()
224 int i, abs; in getfirst_with_default() local
252 start = abs; in getfastnext()
255 a = abs; in getfastnext()
256 abs = getnext(npritems, pritems, abs); in getfastnext()
258 } while (abs != a && abs < start + menurows && i > 0); in getfastnext()
268 start = abs; in getfastprev()
271 a = abs; in getfastprev()
272 abs = getprev(pritems, abs); in getfastprev()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3326-odroid-go3.dts46 abs-flat = <10>;
47 abs-fuzz = <10>;
48 abs-range = <180 800>;
54 abs-flat = <10>;
55 abs-fuzz = <10>;
56 abs-range = <180 800>;
62 abs-flat = <10>;
63 abs-fuzz = <10>;
64 abs-range = <180 800>;
70 abs-flat = <10>;
[all …]
H A Drk3326-odroid-go2.dts25 abs-flat = <10>;
26 abs-fuzz = <10>;
27 abs-range = <172 772>;
33 abs-flat = <10>;
34 abs-fuzz = <10>;
35 abs-range = <278 815>;
H A Drk3326-odroid-go2-v11.dts29 abs-flat = <10>;
30 abs-fuzz = <10>;
31 abs-range = <172 772>;
37 abs-flat = <10>;
38 abs-fuzz = <10>;
39 abs-range = <278 815>;
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h38 half abs(half);
40 half2 abs(half2);
42 half3 abs(half3);
44 half4 abs(half4);
48 int abs(int);
50 int2 abs(int2);
52 int3 abs(int3);
54 int4 abs(int4);
57 float abs(float);
59 float2 abs(float2);
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dadc-joystick.yaml68 abs-range:
80 abs-fuzz:
86 abs-flat:
97 - abs-range
116 abs-range = <3300 0>;
117 abs-fuzz = <4>;
118 abs-flat = <200>;
123 abs-range = <0 3300>;
124 abs-fuzz = <4>;
125 abs-flat = <200>;
/freebsd/contrib/ntp/tests/libntp/
H A Drealpath.c65 char abs[512]; in test_DevLinks()
83 strlcpy(abs, resolved, sizeof(abs)); in test_DevLinks()
90 TEST_ASSERT_TRUE_MESSAGE(isValidAbsPath(abs), errMsg("could not validate '%s'", abs)); in test_DevLinks()
/freebsd/contrib/llvm-project/lld/Common/
H A DReproduce.cpp25 SmallString<128> abs = path; in relativeToRoot() local
26 if (fs::make_absolute(abs)) in relativeToRoot()
28 path::remove_dots(abs, /*remove_dot_dot=*/true); in relativeToRoot()
34 StringRef root = path::root_name(abs); in relativeToRoot()
40 path::append(res, path::relative_path(abs)); in relativeToRoot()
/freebsd/stand/uboot/arch/arm/
H A DMakefile.inc7 abs.ldscript:
13 ubldr: ${OBJS} abs.ldscript ${LDSCRIPT} ${DPADD}
14 ${CC} ${CFLAGS} -T abs.ldscript ${LDFLAGS} \
24 CLEANFILES+= abs.ldscript pie.ldscript ubldr ubldr.pie ubldr.bin
/freebsd/contrib/arm-optimized-routines/math/tools/
H A Dremez.jl230 if abs(M[j,i]) > bestval
427 threshold = abs(c-a) * 2^(-epsbits/2)
436 if abs(b-a) < abs(c-a)
447 while abs(c-a) > threshold
567 candidate = (abs(y), [(x,y)])
740 if abs(e1-e0) <= threshold
758 while abs(e1-e0) > threshold
901 x = max(abs(lo), abs(hi))
905 coeff = abs(coeffs[i])
924 return abs(x - y) < limit
[all …]
/freebsd/lib/msun/tests/
H A Drem_test.c155 q = abs(q); in testl()
156 ATF_CHECK(q == (abs(expected_quo) & mask(q))); in testl()
177 q = abs(q); in testd()
178 ATF_CHECK(q == (abs(expected_quo) & mask(q))); in testd()
199 q = abs(q); in testf()
200 ATF_CHECK((q & mask(q)) == (abs(expected_quo) & mask(q))); in testf()
/freebsd/sys/dev/videomode/
H A Dpickmode.c78 diff = abs(mref - refresh); in pick_mode_by_ref()
168 rtemp = abs(refresh - in sort_modes()
178 if (abs(abest - atemp) > (abest / 8) && in sort_modes()
179 abs(aspect - atemp) < abs(aspect - abest)) { in sort_modes()
184 abs(abest - atemp) <= (abest / 8)) { in sort_modes()
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_cabsl.cxx48 sum += std::abs(cld); in ATF_TEST_CASE_BODY()
51 sum += std::abs(cd); in ATF_TEST_CASE_BODY()
54 sum += std::abs(cf); in ATF_TEST_CASE_BODY()
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_input.c116 struct vtinput_absinfo abs; member
375 struct input_absinfo abs; in pci_vtinput_read_config_abs_info() local
376 if (ioctl(sc->vsc_fd, EVIOCGABS(sc->vsc_config.subsel), &abs) < 0) { in pci_vtinput_read_config_abs_info()
381 sc->vsc_config.u.abs.min = abs.minimum; in pci_vtinput_read_config_abs_info()
382 sc->vsc_config.u.abs.max = abs.maximum; in pci_vtinput_read_config_abs_info()
383 sc->vsc_config.u.abs.fuzz = abs.fuzz; in pci_vtinput_read_config_abs_info()
384 sc->vsc_config.u.abs.flat = abs.flat; in pci_vtinput_read_config_abs_info()
385 sc->vsc_config.u.abs.res = abs.resolution; in pci_vtinput_read_config_abs_info()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArch.td82 // Expand la.global as la.abs
84 : SubtargetFeature<"la-global-with-abs", "HasLaGlobalWithAbs", "true",
85 "Expand la.global as la.abs">;
89 "Expand la.global as la.abs">;
91 // Expand la.local as la.abs
93 : SubtargetFeature<"la-local-with-abs", "HasLaLocalWithAbs", "true",
94 "Expand la.local as la.abs">;
98 "Expand la.local as la.abs">;
/freebsd/contrib/nvi/ex/
H A Dex_z.c33 MARK abs; in ex_z() local
90 abs.lno = sp->lno; in ex_z()
91 abs.cno = sp->cno; in ex_z()
92 (void)mark_set(sp, ABSMARK1, &abs, 1); in ex_z()
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h60 return abs(__c.real()); in norm()
62 return abs(__c.imag()); in norm()
109 return std::complex<_Tp>(log(abs(__x)), arg(__x)); in log()
132 return polar(sqrt(abs(__x)), arg(__x) / _Tp(2)); in sqrt()
206 return std::complex<_Tp>(abs(__x.real()), __x.imag()); in acosh()
225 return std::complex<_Tp>(abs(__x.imag()), in acosh()
253 if (abs(__x.real()) == _Tp(1) && __x.imag() == _Tp(0)) { in atanh()
281 return std::complex<_Tp>(abs(__x.real()), _Tp(NAN)); in cosh()
287 return std::complex<_Tp>(abs(__x.real()), __x.imag()); in cosh()
352 return std::complex<_Tp>(abs(__z.imag()), abs(__z.real())); in acos()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h26 __DEVICE__ long abs(long);
27 __DEVICE__ long long abs(long long);
28 __DEVICE__ double abs(double);
29 __DEVICE__ float abs(float);
30 __DEVICE__ int abs(int);
200 using ::abs;
/freebsd/sys/tools/sound/
H A Dfeeder_rate_mkfilter.awk52 function abs(x) function
355 printf(" %s0x%08x,", (v < 0) ? "-" : " ", abs(v));
369 if (abs(v) > abs(largest_interp))
371 printf(" %s0x%08x,", (v < 0) ? "-" : " ", abs(v));
484 scale = sprintf("(v) << %d", abs(s1));
778 v = ((Z_ONE - 1) * abs(largest_interp)) / INT32_MAX;
808 v = (Z_ONE - 1) * abs(largest_interp);
814 abs(zinterpunshift));
822 abs(Z_INTERP_UNSHIFT));
890 v = shr(Z_ONE - 1, Z_UNSHIFT) * abs(largest_interp);
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dhh_mm_ss.h57 __h_(chrono::duration_cast<chrono::hours>(chrono::abs(__d))), in hh_mm_ss()
58 __m_(chrono::duration_cast<chrono::minutes>(chrono::abs(__d) - hours())), in hh_mm_ss()
59 __s_(chrono::duration_cast<chrono::seconds>(chrono::abs(__d) - hours() - minutes())), in hh_mm_ss()
60 … __f_(chrono::duration_cast<precision>(chrono::abs(__d) - hours() - minutes() - seconds())) {} in hh_mm_ss()
/freebsd/sys/dev/usb/input/
H A Dwsp.c1072 abs(sc->pos_x[0] - sc->pos_x[1]), in wsp_intr_callback()
1073 abs(sc->pos_y[0] - sc->pos_y[1]))); in wsp_intr_callback()
1096 abs(sc->dy_sum) < 5) { in wsp_intr_callback()
1166 abs(sc->dx_sum) < 1 && abs(sc->dy_sum) < 1 ) in wsp_intr_callback()
1182 if ((abs(sc->index[0]->rel_x) + abs(sc->index[0]->rel_y)) < in wsp_intr_callback()
1183 (abs(sc->index[1]->rel_x) + abs(sc->index[1]->rel_y)) && in wsp_intr_callback()
1189 if ((abs(sc->index[0]->rel_x) + abs(sc->index[0]->rel_y)) >= in wsp_intr_callback()
1190 (abs(sc->index[1]->rel_x) + abs(sc->index[1]->rel_y)) && in wsp_intr_callback()
1220 abs(sc->dx_sum) + abs(sc->dy_sum) > tun.scr_hor_threshold) in wsp_intr_callback()
1221 sc->scr_mode = abs(sc->dx_sum) > in wsp_intr_callback()
[all …]

12345678910>>...19