Home
last modified time | relevance | path

Searched refs:qx (Results 1 - 23 of 23) sorted by relevance

/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dexpm1l.c84 long double px, qx, xx; in expm1l() local
106 qx = (((( x + Q4) * x + Q3) * x + Q2) * x + Q1) * x + Q0; in expm1l()
108 qx = x + (0.5 * xx + xx * px / qx); in expm1l()
111 We have qx = exp(remainder ln 2) - 1, so in expm1l()
112 exp(x) - 1 = 2^k (qx + 1) - 1 = 2^k qx + 2^k - 1. */ in expm1l()
114 x = px * qx + (px - 1.0); in expm1l()
/third_party/musl/src/math/
H A Dexpm1l.c84 long double px, qx, xx; in expm1l() local
106 qx = (((( x + Q4) * x + Q3) * x + Q2) * x + Q1) * x + Q0; in expm1l()
108 qx = x + (0.5 * xx + xx * px / qx); in expm1l()
111 We have qx = exp(remainder ln 2) - 1, so in expm1l()
112 exp(x) - 1 = 2^k (qx + 1) - 1 = 2^k qx + 2^k - 1. */ in expm1l()
114 x = px * qx + (px - 1.0); in expm1l()
/third_party/skia/src/gpu/geometry/
H A DGrQuad.cpp37 static void map_quad_general(const V4f& qx, const V4f& qy, const SkMatrix& m, in map_quad_general() argument
39 *xs = m.getScaleX() * qx + (m.getSkewX() * qy + m.getTranslateX()); in map_quad_general()
40 *ys = m.getSkewY() * qx + (m.getScaleY() * qy + m.getTranslateY()); in map_quad_general()
42 V4f w = m.getPerspX() * qx + (m.getPerspY() * qy + m.get(SkMatrix::kMPersp2)); in map_quad_general()
/third_party/ffmpeg/libavcodec/
H A Dvc1_pred.c403 int qx, qy, X, Y; in ff_vc1_pred_mv() local
405 qx = (s->mb_x << 6) + ((n == 1 || n == 3) ? 32 : 0); in ff_vc1_pred_mv()
409 if (qx + px < MV) px = MV - qx; in ff_vc1_pred_mv()
411 if (qx + px > X) px = X - qx; in ff_vc1_pred_mv()
768 int qx, qy, X, Y; in ff_vc1_pred_b_mv() local
771 qx = (s->mb_x << sh); in ff_vc1_pred_b_mv()
775 if (qx + px < MV) px = MV - qx; in ff_vc1_pred_b_mv()
838 int qx, qy, X, Y; ff_vc1_pred_b_mv() local
[all...]
H A Dvc1_mc.c514 int qx, qy; in ff_vc1_mc_4mv_luma() local
521 qx = (s->mb_x * 16) + (mx >> 2); in ff_vc1_mc_4mv_luma()
524 if (qx < -17) in ff_vc1_mc_4mv_luma()
525 mx -= 4 * (qx + 17); in ff_vc1_mc_4mv_luma()
526 else if (qx > width) in ff_vc1_mc_4mv_luma()
527 mx -= 4 * (qx - width); in ff_vc1_mc_4mv_luma()
H A Dmobiclip.c336 int qx, qy; in setup_qtables() local
343 qx = quantizer % 6; in setup_qtables()
347 s->qtab[0][i] = quant4x4_tab[qx][i] << qy; in setup_qtables()
350 s->qtab[1][i] = quant8x8_tab[qx][i] << (qy - 2); in setup_qtables()
/third_party/jerryscript/jerry-libm/
H A Dtrig.c693 * For better accuracy when x > 0.3, let qx = |x|/4 with
694 * the last 32 bits mask off, and if x > 0.78125, let qx = 0.28125.
696 * cos(x+y) = (1-qx) - ((x*x/2-qx) - (r-x*y)).
697 * Note that 1-qx and (x*x/2-qx) is EXACT here, and the
731 double_accessor qx; in __kernel_cos() local
734 qx.dbl = 0.28125; in __kernel_cos()
738 qx.as_int.hi = ix - 0x00200000; /* x / 4 */ in __kernel_cos()
739 qx in __kernel_cos()
[all...]
/third_party/alsa-utils/topology/nhlt/intel/dmic/
H A Ddmic-internal.h23 #define Q_MULTSR_32X32(px, py, qx, qy, qp) \
24 ((((px) * (py) >> ((qx) + (qy) - (qp) - 1)) + 1) >> 1)
/third_party/ltp/tools/sparse/sparse-src/
H A Dcgcc102 $gcc_base_dir = qx($ccom -print-file-name=) if !$gcc_base_dir;
106 $multiarch_dir = qx($ccom -print-multiarch) if ! defined $multiarch_dir;
/third_party/node/deps/v8/src/base/
H A Dieee754.cc297 * For better accuracy when x > 0.3, let qx = |x|/4 with
298 * the last 32 bits mask off, and if x > 0.78125, let qx = 0.28125.
300 * cos(x+y) = (1-qx) - ((x*x/2-qx) - (r-x*y)).
301 * Note that 1-qx and (x*x/2-qx) is EXACT here, and the
315 double a, iz, z, r, qx; in __kernel_cos() local
328 qx = 0.28125; in __kernel_cos()
330 INSERT_WORDS(qx, ix - 0x00200000, 0); /* x/4 */ in __kernel_cos()
332 iz = 0.5 * z - qx; in __kernel_cos()
[all...]
/third_party/skia/third_party/externals/freetype/src/smooth/
H A Dftgrays.c1053 FT_Int64 qx, qy; in gray_render_conic() local
1212 qx = LEFT_SHIFT( bx, 33 - shift ) + LEFT_SHIFT( ax, 32 - 2 * shift ); in gray_render_conic()
1220 px += qx; in gray_render_conic()
1222 qx += rx; in gray_render_conic()
/third_party/mbedtls/3rdparty/everest/library/legacy/
H A DHacl_Curve25519.c624 uint64_t *qx = qmqp; in Hacl_EC_AddAndDouble_fmonty() local
667 Hacl_Bignum_fmul(z3, zzzprime, qx); in Hacl_EC_AddAndDouble_fmonty()
/third_party/mbedtls/3rdparty/everest/library/
H A DHacl_Curve25519.c579 uint64_t *qx = qmqp; in Hacl_EC_AddAndDouble_fmonty() local
622 Hacl_Bignum_fmul(z3, zzzprime, qx); in Hacl_EC_AddAndDouble_fmonty()
/third_party/python/Modules/
H A Dmathmodule.c2668 sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
2677 double x, px, qx, result; in math_dist_impl() local
2719 ASSIGN_DOUBLE(qx, item, error_exit); in math_dist_impl()
2720 x = fabs(px - qx); in math_dist_impl()
/third_party/python/Lib/test/
H A Dtest_math.py915 sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
985 diffs = [px - qx for px, qx in zip(p, q)]
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h4092 I32 qx = cast<I32>(floor_(65536.0f * x + 0.5f)) - 32768,
4095 // Calculate screen coordinates sx & sy by flooring qx and qy.
4096 I32 sx = qx >> 16,
4099 // We are going to perform a change of parameters for qx on [0, 1) to tx on [-1, 1).
4101 // Calculate tx and ty on the interval of [-1, 1). Give {qx} and {qy} are on the interval
4104 // tx = 2 * {qx} - 1, so
4105 // {qx} = (tx + 1) / 2.
4106 // Calculate {qx} - 1 and {qy} - 1 where the {} operation is handled by the cast, and the - 1
4109 I16 tx = cast<I16>(qx ^ 0x8000),
4112 // Substituting the {qx} b
[all...]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvulkan_structs.hpp2770 , qx( qx_ )
2850 qx = qx_;
2907 ( c == rhs.c ) && ( pvy == rhs.pvy ) && ( sz == rhs.sz ) && ( pvz == rhs.pvz ) && ( qx == rhs.qx ) &&
2928 float qx = {}; member
[all...]
H A Dvulkan_core.h12491 float qx; member
/third_party/mesa3d/include/vulkan/
H A Dvulkan_core.h13561 float qx; member
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
H A Dvulkan_core.h12651 float qx; member
/third_party/vulkan-headers/include/vulkan/
H A Dvulkan_core.h16115 float qx; member
H A Dvulkan_hash.hpp824 VULKAN_HPP_HASH_COMBINE( seed, sRTDataNV.qx );
H A Dvulkan_structs.hpp3043 , qx( qx_ )
3123 qx = qx_;
3197 return std::tie( sx, a, b, pvx, sy, c, pvy, sz, pvz, qx, qy, qz, qw, tx, ty, tz );
3210 ( sz == rhs.sz ) && ( pvz == rhs.pvz ) && ( qx == rhs.qx ) && ( qy == rhs.qy ) && ( qz == rhs.qz ) && ( qw == rhs.qw ) && ( tx == rhs.tx ) &&
3231 float qx = {}; member
[all...]

Completed in 320 milliseconds