Searched refs:pow (Results 1 - 25 of 415) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A Dnomathbuiltin.c6 double pow(double, double);
9 return pow(a, b);
10 // CHECK: call {{.*}}double @pow
H A Dle32-libcall-pow.c4 // le32 (PNaCl) never generates intrinsics for pow calls, with or without
9 double pow(double, double);
17 // CHECK: call double @pow
18 double l1 = pow(a1, a1);
25 // CHECK: declare double @pow(double, double)
/external/syslinux/com32/lib/math/
H A Dpow.S2 * pow.S
4 * double pow(double base, double exponent)
8 .globl pow
9 .type pow,@function
10 pow: label
25 .size pow,.-pow
/external/eigen/doc/snippets/
H A DCwise_pow.cpp2 cout << v.pow(0.333333) << endl;
H A DCwise_scalar_power_array.cpp2 cout << "10^[" << e << "] = " << pow(10,e) << endl;
H A DCwise_array_power_array.cpp3 cout << "[" << x << "]^[" << e << "] = " << x.pow(e) << endl; // using ArrayBase::pow
4 cout << "[" << x << "]^[" << e << "] = " << pow(x,e) << endl; // using Eigen::pow
/external/syslinux/com32/include/
H A Dmath.h11 double pow(double, double);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
H A DGCMExponentiator.java6 void exponentiateX(long pow, byte[] output); argument
H A DTables1kGCMExponentiator.java25 public void exponentiateX(long pow, byte[] output) argument
29 while (pow > 0)
31 if ((pow & 1L) != 0)
37 pow >>>= 1;
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/equations/
H A DExpo.java14 return (t==0) ? 0 : (float) Math.pow(2, 10 * (t - 1));
26 return (t==1) ? 1 : -(float) Math.pow(2, -10 * t) + 1;
40 if ((t*=2) < 1) return 0.5f * (float) Math.pow(2, 10 * (t - 1));
41 return 0.5f * (-(float)Math.pow(2, -10 * --t) + 2);
H A DElastic.java22 return -(a*(float)Math.pow(2,10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p ));
40 return a*(float)Math.pow(2,-10*t) * (float)Math.sin( (t-s)*(2*PI)/p ) + 1;
58 if (t < 1) return -.5f*(a*(float)Math.pow(2,10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p ));
59 return a*(float)Math.pow(2,-10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p )*.5f + 1;
/external/libpng/contrib/tools/
H A DsRGB.h26 l = 1.055 * pow(l, 1/2.4) - 0.055;
38 return pow((s+0.055)/1.055, 2.4);
/external/ltp/testcases/misc/math/float/
H A Dfloat_power.c37 {FUNC_POW, 47, pow, "pow", "pow_inp.ref", "pow_out.ref",
/external/libcxx/test/std/numerics/complex.number/cmplx.over/
H A Dpow.pass.cpp14 // pow(const T& x, const complex<U>& y);
18 // pow(const complex<T>& x, const U& y);
22 // pow(const complex<T>& x, const complex<U>& y);
43 static_assert((std::is_same<decltype(std::pow(x, y)), std::complex<V> >::value), "");
44 assert(std::pow(x, y) == pow(std::complex<V>(x, 0), std::complex<V>(y)));
52 static_assert((std::is_same<decltype(std::pow(x, y)), std::complex<V> >::value), "");
53 assert(std::pow(x, y) == pow(std::complex<V>(x), std::complex<V>(y, 0)));
61 static_assert((std::is_same<decltype(std::pow(
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_srgb.py49 return math.pow((x + 0.055) / 1.055, 2.4)
54 return 1.055 * math.pow(x, 0.41666) - 0.055
H A Du_math.c42 pow2_table[i] = (float) pow(2.0, (i - POW2_TABLE_OFFSET) / POW2_TABLE_SCALE);
/external/eigen/unsupported/doc/examples/
H A DMatrixPower.cpp14 "The matrix power A^(pi/4) is:\n" << A.pow(pi/4) << std::endl;
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dcopy.pass.cpp27 return std::pow(a, b);
H A Dnested.pass.cpp31 return static_cast<T>(std::pow(a, b));
/external/fio/lib/
H A Dzipf.c29 zs->zetan += pow(1.0 / (double) (i + 1), zs->theta);
48 zs->zeta2 = pow(1.0, zs->theta) + pow(0.5, zs->theta);
60 eta = (1.0 - pow(2.0 / n, 1.0 - zs->theta)) / (1.0 - zs->zeta2 / zs->zetan);
67 else if (rand_z < (1.0 + pow(0.5, zs->theta)))
70 val = 1 + (unsigned long long)(n * pow(eta*rand_uni - eta + 1.0, alpha));
87 return (__hash_u64(n * pow(rand, zs->pareto_pow)) + zs->rand_off) % zs->nranges;
/external/fio/
H A Dtickmarks.c23 f = x / pow(10.0, exp);
26 return 1.0 * pow(10.0, exp);
28 return 2.0 * pow(10.0, exp);
30 return 5.0 * pow(10.0, exp);
31 return 10.0 * pow(10.0, exp);
34 return 1.0 * pow(10.0, exp);
36 return 2.0 * pow(10.0, exp);
38 return 5.0 * pow(10.0, exp);
39 return 10.0 * pow(10.0, exp);
/external/vulkan-validation-layers/libs/glm/gtx/
H A Dinteger.hpp55 GLM_FUNC_DECL int pow(int x, int y);
85 GLM_FUNC_DECL uint pow(uint x, uint y);
/external/iproute2/tc/
H A Dtc_cbq.c37 vxmt *= (pow(g, -(double)maxburst) - 1);
53 offtime *= pow(g, -(double)minburst) - 1;
55 offtime *= 1 + (pow(g, -(double)(minburst-1)) - 1)/(1-g);
/external/speex/libspeex/
H A Dvorbis_psy.h55 #define fromBARK(z) (102.f*(z)-2.f*pow(z,2.f)+.4f*pow(z,3.f)+pow(1.46f,z)-1.f)
/external/eigen/Eigen/src/Core/
H A DGlobalFunctions.h82 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(square,scalar_square_op,square (power 2),\sa Eigen::abs2 DOXCOMMA Eigen::pow DOXCOMMA ArrayBase::square)
83 EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(cube,scalar_cube_op,cube (power 3),\sa Eigen::pow DOXCOMMA ArrayBase::cube)
96 * \sa ArrayBase::pow()
103 pow(const Eigen::ArrayBase<Derived>& x, const ScalarExponent& exponent);
106 inline typename internal::enable_if< !(internal::is_same<typename Derived::Scalar,ScalarExponent>::value) && EIGEN_SCALAR_BINARY_SUPPORTED(pow,typename Derived::Scalar,ScalarExponent),
107 const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Derived,ScalarExponent,pow) >::type
108 pow(const Eigen::ArrayBase<Derived>& x, const ScalarExponent& exponent) {
109 return x.derived().pow(exponent);
113 inline const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Derived,typename Derived::Scalar,pow)
114 pow(cons
132 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<ExponentDerived>& exponents) function in namespace:Eigen
161 pow(const Scalar& x, const Eigen::ArrayBase<Derived>& exponents) function in namespace:Eigen
169 pow(const typename Derived::Scalar& x, const Eigen::ArrayBase<Derived>& exponents) function in namespace:Eigen
[all...]

Completed in 778 milliseconds

1234567891011>>