Home
last modified time | relevance | path

Searched refs:eps (Results 26 - 50 of 65) sorted by relevance

123

/third_party/python/Python/
H A Ddtoa.c2292 U d2, eps, u; in _Py_dg_dtoa() local
2483 dval(&eps) = ieps*dval(&u) + 7.; in _Py_dg_dtoa()
2484 word0(&eps) -= (P-1)*Exp_msk1; in _Py_dg_dtoa()
2488 if (dval(&u) > dval(&eps)) in _Py_dg_dtoa()
2490 if (dval(&u) < -dval(&eps)) in _Py_dg_dtoa()
2498 dval(&eps) = 0.5/tens[ilim-1] - dval(&eps); in _Py_dg_dtoa()
2503 if (dval(&u) < dval(&eps)) in _Py_dg_dtoa()
2505 if (1. - dval(&u) < dval(&eps)) in _Py_dg_dtoa()
2509 dval(&eps) * in _Py_dg_dtoa()
[all...]
/third_party/alsa-utils/topology/nhlt/intel/
H A Dssp-nhlt.h15 int nhlt_ssp_get_ep(struct intel_nhlt_params *nhlt, struct endpoint_descriptor **eps,
H A Ddmic-nhlt.c194 int nhlt_dmic_get_ep(struct intel_nhlt_params *nhlt, struct endpoint_descriptor **eps, in nhlt_dmic_get_ep() argument
343 *eps = (struct endpoint_descriptor *)ep_target; in nhlt_dmic_get_ep()
H A Dssp-nhlt.c449 int nhlt_ssp_get_ep(struct intel_nhlt_params *nhlt, struct endpoint_descriptor **eps, in nhlt_ssp_get_ep() argument
553 *eps = (struct endpoint_descriptor *)ep_target; in nhlt_ssp_get_ep()
/third_party/alsa-lib/src/pcm/
H A Dpcm_ladspa.c313 static void snd_pcm_ladspa_free_eps(snd_pcm_ladspa_eps_t *eps) in snd_pcm_ladspa_free_eps() argument
315 free(eps->channels.array); in snd_pcm_ladspa_free_eps()
316 free(eps->ports.array); in snd_pcm_ladspa_free_eps()
408 snd_pcm_ladspa_eps_t *eps) in snd_pcm_ladspa_connect_plugin1()
429 err = snd_pcm_ladspa_add_to_carray(&eps->channels, idx1, idx); in snd_pcm_ladspa_connect_plugin1()
434 err = snd_pcm_ladspa_add_to_array(&eps->ports, idx1, port); in snd_pcm_ladspa_connect_plugin1()
460 snd_pcm_ladspa_eps_t *eps, in snd_pcm_ladspa_connect_plugin_duplicate1()
476 err = snd_pcm_ladspa_add_to_carray(&eps->channels, 0, idx); in snd_pcm_ladspa_connect_plugin_duplicate1()
481 err = snd_pcm_ladspa_add_to_array(&eps->ports, 0, port); in snd_pcm_ladspa_connect_plugin_duplicate1()
590 snd_pcm_ladspa_eps_t *eps, in snd_pcm_ladspa_check_connect()
406 snd_pcm_ladspa_connect_plugin1(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *io, snd_pcm_ladspa_eps_t *eps) snd_pcm_ladspa_connect_plugin1() argument
458 snd_pcm_ladspa_connect_plugin_duplicate1(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *io, snd_pcm_ladspa_eps_t *eps, unsigned int idx) snd_pcm_ladspa_connect_plugin_duplicate1() argument
588 snd_pcm_ladspa_check_connect(snd_pcm_ladspa_plugin_t *plugin, snd_pcm_ladspa_plugin_io_t *io, snd_pcm_ladspa_eps_t *eps, unsigned int depth) snd_pcm_ladspa_check_connect() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_complex.py40 def assertCloseAbs(self, x, y, eps=1e-9):
46 return abs(x) < eps
48 return abs(y) < eps
49 # check that relative difference < eps
50 self.assertTrue(abs((x-y)/y) < eps)
75 def assertClose(self, x, y, eps=1e-9):
77 self.assertCloseAbs(x.real, y.real, eps)
78 self.assertCloseAbs(x.imag, y.imag, eps)
H A Dtest_cmath.py536 eps = 1E-7
537 if abs(a.real - b[0]) > eps or abs(a.imag - b[1]) > eps:
H A Dtest_math.py17 eps = 1E-05 variable
265 self.assertRaises(ValueError, math.acos, 1 + eps)
266 self.assertRaises(ValueError, math.acos, -1 - eps)
286 self.assertRaises(ValueError, math.asin, 1 + eps)
287 self.assertRaises(ValueError, math.asin, -1 - eps)
606 if abs(mant-emant) > eps or exp != eexp:
1210 if abs(v1-e1) > eps or abs(v2-e2):
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test.h128 compare_vec_with_eps(struct lp_type type, const void *res, const void *ref, double eps);
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcPixelStorageModesTests.cpp90 double eps = 0.0; in getEps() local
94 eps = 1.0 / (double)(1 << 4); in getEps()
99 eps = 1.0 / (double)(1 << 5); in getEps()
111 eps = 1.0 / (double)(1 << 8); in getEps()
114 eps = 1.0 / (double)(1 << 9); in getEps()
118 eps = 1.0 / (double)(1 << 10); in getEps()
125 eps = 1.0 / (double)(1 << 16); in getEps()
131 eps = 1.0 / (double)(1 << 31); in getEps()
137 return std::max(0.01, eps); in getEps()
/third_party/skia/tests/
H A DWangsFormulaTest.cpp68 const float eps = 1 / precision; in wangs_formula_conic_reference_impl() local
69 const float r_minus_eps = std::max(0.f, max_len - eps); in wangs_formula_conic_reference_impl()
71 const float numer = 4 * min_w * eps; in wangs_formula_conic_reference_impl()
H A DSkNxTest.cpp16 auto assert_nearly_eq = [&](float eps, const SkNx<N, float>& v, in test_Nf()
18 auto close = [=](float a, float b) { return fabsf(a-b) <= eps; }; in test_Nf()
/drivers/peripheral/usb/ddk/host/include/
H A Dliteos_adapter.h61 unsigned char eps[0]; member
H A Dlinux_adapter.h102 unsigned char eps[0]; member
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
H A Df_generic.h213 struct generic_ep *eps; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureCompressedFormatTests.cpp202 const float eps = 0.0001f; in computeScaleAndBias() local
232 if (maxVal[c] - minVal[c] < eps) in computeScaleAndBias()
234 scale[c] = (maxVal[c] < eps) ? 1.0f : (1.0f / maxVal[c]); in computeScaleAndBias()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureCompressedFormatTests.cpp202 const float eps = 0.0001f; in computeScaleAndBias() local
232 if (maxVal[c] - minVal[c] < eps) in computeScaleAndBias()
234 scale[c] = (maxVal[c] < eps) ? 1.0f : (1.0f / maxVal[c]); in computeScaleAndBias()
/drivers/hdf_core/framework/core/manager/test/unittest/common/
H A Dhdf_sbuf_test.cpp836 constexpr double eps = 1e-6; in HWTEST_F() local
845 ASSERT_EQ(fabs(data - readData) < eps, true); in HWTEST_F()
851 constexpr float eps = 1e-6;
860 ASSERT_EQ(fabs(data - readData) < eps, true);
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Dusbd_generic_epfile.c686 struct generic_ep *ep = dev->eps; in generic_eps_disable()
720 struct generic_ep *ep = dev->eps; in generic_eps_enable()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingBuiltinTests.cpp2244 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in validateFloatBuffer() local
2257 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateFloatBuffer()
2281 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateFloatBuffer()
2302 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in validateVectorBuffer() local
2318 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateVectorBuffer()
2344 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateVectorBuffer()
2363 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in validateMatrixBuffer() local
2379 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateMatrixBuffer()
2409 if (deFloatAbs(retrievedValue - expectedValue) > eps) in validateMatrixBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryBuiltinTests.cpp1664 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in verify() local
1678 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1701 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1723 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in verify() local
1743 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1775 if (deFloatAbs(retrievedValue - expectedValue) <= eps && in verify()
1822 if (deFloatAbs(retrievedValue - expectedValue) > eps || in verify()
1845 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in verify() local
1861 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1891 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
3038 const float eps = 1.0f / float(FIXED_POINT_DIVISOR); initAccelerationStructures() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
H A DvktRayQueryBuiltinTests.cpp1644 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in verify() local
1658 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1681 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1703 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in verify() local
1723 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1755 if (deFloatAbs(retrievedValue - expectedValue) <= eps && in verify()
1802 if (deFloatAbs(retrievedValue - expectedValue) > eps || in verify()
1825 const float eps = float(FIXED_POINT_ALLOWED_ERROR) / float(FIXED_POINT_DIVISOR); in verify() local
1841 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
1871 if (deFloatAbs(retrievedValue - expectedValue) > eps) in verify()
3018 const float eps = 1.0f / float(FIXED_POINT_DIVISOR); initAccelerationStructures() local
[all...]
/third_party/musl/src/math/
H A Dexp2l.c404 static const float eps[TBLSIZE] = { variable
547 * y = i/TBLSIZE + z - eps[i] for integer i near y * TBLSIZE.
548 * Thus we have exp2(y) = exp2(i/TBLSIZE) * exp2(z - eps[i]),
549 * with |z - eps[i]| <= 2**-8 + 2**-98 for the table used.
551 * We compute exp2(i/TBLSIZE) via table lookup and exp2(z - eps[i]) via
553 * The values in exp2t[] and eps[] are chosen such that
554 * exp2t[i] = exp2(i/TBLSIZE + eps[i]), and eps[i] is a small offset such
611 /* Compute r = exp2(y) = exp2t[i0] * p(z - eps[i]). */ in exp2l()
613 z -= eps[i in exp2l()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dexp2l.c404 static const float eps[TBLSIZE] = { variable
547 * y = i/TBLSIZE + z - eps[i] for integer i near y * TBLSIZE.
548 * Thus we have exp2(y) = exp2(i/TBLSIZE) * exp2(z - eps[i]),
549 * with |z - eps[i]| <= 2**-8 + 2**-98 for the table used.
551 * We compute exp2(i/TBLSIZE) via table lookup and exp2(z - eps[i]) via
553 * The values in exp2t[] and eps[] are chosen such that
554 * exp2t[i] = exp2(i/TBLSIZE + eps[i]), and eps[i] is a small offset such
611 /* Compute r = exp2(y) = exp2t[i0] * p(z - eps[i]). */ in exp2l()
613 z -= eps[i in exp2l()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineBindVertexBuffers2Tests.cpp1024 const float eps = 0.2f; in iterate() local
1025 const tcu::Vec3 threshold (eps, eps, eps); in iterate()

Completed in 46 milliseconds

123