/freebsd/lib/msun/tests/ |
H A D | test-utils.h | 117 fpequal_tol(long double x, long double y, long double tol, in fpequal_tol() argument 129 if (tol == 0) in fpequal_tol() 140 ret = fabsl(x - y) <= fabsl(tol); in fpequal_tol() 142 ret = fabsl(x - y) <= fabsl(y * tol); in fpequal_tol() 156 #define CHECK_FPEQUAL_TOL(x, y, tol, flags) do { \ argument 159 bool eq = fpequal_tol(_x, _y, tol, flags); \ 162 #x, _x, #y, _y, _diff, fabsl(_y * tol)); \ 183 #define CHECK_CFPEQUAL_TOL(x, y, tol, flags) do { \ argument 186 bool equal_tol = (fpequal_tol(creal(_x), creal(_y), tol, flags) && \ 187 fpequal_tol(cimag(_x), cimag(_y), tol, flags)); \
|
H A D | ctrig_test.c | 74 #define test_p_tol(func, z, result, tol) do { \ argument 77 CHECK_CFPEQUAL_TOL((func)(z), (result), (tol), FPE_ABS_ZERO); \ 85 #define test_tol(func, z, result, tol) do { \ argument 86 test_p_tol(func, z, result, tol); \ 87 test_p_tol(func, conjl(z), conjl(result), tol); \ 89 #define test_odd_tol(func, z, result, tol) do { \ argument 90 test_tol(func, z, result, tol); \ 91 test_tol(func, -(z), -(result), tol); \ 93 #define test_even_tol(func, z, result, tol) do { \ argument 94 test_tol(func, z, result, tol); \ [all …]
|
H A D | invctrig_test.c | 70 #define test_p_tol(func, z, result, tol) do { \ argument 73 CHECK_CFPEQUAL_TOL((func)(z), (result), (tol), CS_BOTH); \ 81 #define test_tol(func, z, result, tol) do { \ argument 82 test_p_tol(func, z, result, tol); \ 83 test_p_tol(func, conjl(z), conjl(result), tol); \ 104 #define testall_tol(func, x, result, tol) do { \ argument 105 test_tol(func, x, result, (tol) * DBL_ULP()); \ 106 test_tol(func##f, x, result, (tol) * FLT_ULP()); \ 108 #define testall_odd_tol(func, x, result, tol) do { \ argument 109 testall_tol(func, x, result, tol); \ [all …]
|
H A D | invtrig_test.c | 52 #define test_tol(func, x, result, tol, excepts) do { \ argument 55 CHECK_FPEQUAL_TOL(func(_in), _out, (tol), CS_BOTH); \ 62 #define _testall_tol(prefix, x, result, tol, excepts) do { \ argument 64 (tol) * ldexp(1.0, 1 - DBL_MANT_DIG), (excepts)); \ 66 (tol) * ldexpf(1.0, 1 - FLT_MANT_DIG), (excepts)); \ 72 #define testall_tol(prefix, x, result, tol, excepts) do { \ argument 73 _testall_tol(prefix, x, result, tol, excepts); \ 75 (tol) * ldexpl(1.0, 1 - LDBL_MANT_DIG), (excepts)); \ 82 #define test2_tol(func, y, x, result, tol, excepts) do { \ argument 85 CHECK_FPEQUAL_TOL(func(_iny, _inx), _out, (tol), CS_BOTH); \ [all …]
|
H A D | cexp_test.c | 75 #define test_tol(func, z, result, tol) do { \ argument 76 CHECK_CFPEQUAL_TOL((func)(z), (result), (tol), \ 90 #define testall_tol(x, result, tol) do { \ argument 91 test_tol(cexp, x, result, tol * DBL_ULP()); \ 92 test_tol(cexpf, x, result, tol * FLT_ULP()); \
|
H A D | logarithm_test.c | 66 #define test_tol(func, z, result, tol) do { \ argument 69 CHECK_FPEQUAL_TOL((func)(_d), (result), (tol), CS_BOTH); \
|
/freebsd/contrib/ntp/sntp/unity/ |
H A D | unity.c | 618 _UF diff, tol; in UnityAssertEqualFloatArray() local 638 tol = UNITY_FLOAT_PRECISION * *ptr_expected; in UnityAssertEqualFloatArray() 639 if (tol < 0.0f) in UnityAssertEqualFloatArray() 640 tol = 0.0f - tol; in UnityAssertEqualFloatArray() 643 if ((diff * 0.0f != 0.0f) || (diff > tol)) in UnityAssertEqualFloatArray() 779 _UD diff, tol; in UnityAssertEqualDoubleArray() local 799 tol = UNITY_DOUBLE_PRECISION * *ptr_expected; in UnityAssertEqualDoubleArray() 800 if (tol < 0.0) in UnityAssertEqualDoubleArray() 801 tol = 0.0 - tol; in UnityAssertEqualDoubleArray() 804 if ((diff * 0.0 != 0.0) || (diff > tol)) in UnityAssertEqualDoubleArray()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
H A D | math.shlib | 57 typeset tol=$3 60 log_note "Checking if $val is within +/-$tol of $target (diff: $diff)" 61 ((diff <= tol))
|
/freebsd/contrib/gdtoa/ |
H A D | strtodg.c | 330 double adj0, tol; local 971 tol = dval(&adj) * 5e-16; /* > max rel error */ 973 if (dval(&adj) < -tol) { 974 if (adj0 > tol) { 979 else if (dval(&adj) > tol && adj0 < 1. - tol) {
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | omap3-devkit8000-lcd-common.dtsi | 66 ti,debounce-tol = /bits/ 16 <5>;
|
H A D | omap3-cm-t3x.dtsi | 241 ti,debounce-tol = /bits/ 16 <10>;
|
H A D | omap5-cm-t54.dts | 369 ti,debounce-tol = /bits/ 16 <10>;
|
H A D | am57xx-cl-som-am57x.dts | 542 ti,debounce-tol = /bits/ 16 <10>;
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx7d-pico-hobbit.dts | 77 ti,debounce-tol = /bits/ 16 <3>;
|
/freebsd/sys/contrib/device-tree/src/arm/microchip/ |
H A D | at91sam9261ek.dts | 170 ti,debounce-tol = /bits/ 16 <65535>;
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | ads7846.txt | 53 ti,debounce-tol Tolerance used for filtering (u16).
|
/freebsd/crypto/heimdal/lib/kafs/ |
H A D | ChangeLog | 35 * afssys.c: use afs_ioctlnum, From Tomas Olsson <tol@it.su.se> 73 device node. Patched from Tomas Olson <tol@it.su.se>.
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8mm-var-som.dtsi | 97 ti,debounce-tol = /bits/ 16 <3>;
|
H A D | imx8mn-var-som.dtsi | 88 ti,debounce-tol = /bits/ 16 <3>;
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | coex.c | 17 u8 tol = chip->rssi_tolerance; in rtw_coex_next_rssi_state() local 22 if (rssi >= (rssi_thresh + tol)) in rtw_coex_next_rssi_state()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | ChangeLog | 994 * glob.c: provide a fallback for ARG_MAX. from <tol@stacken.kth.se> 999 from <tol@stacken.kth.se>
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | coex.c | 5552 u8 next_state, tol = chip->rssi_tol; in _update_bt_info() 5556 if (rssi >= (thresh + tol)) in _update_bt_info() 4448 u8 next_state, tol = chip->rssi_tol; _update_rssi_state() local
|
/freebsd/share/dict/ |
H A D | web2a | 65251 tol-de-rol 65266 tol-lol 65267 tol-lol-de-rol 65268 tol-lol-ish
|
H A D | web2 | 204267 tol
|