Searched defs:pow (Results 1 - 16 of 16) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/
H A DSDL_gamma.c34 #define pow(x, y) __ieee754_pow(x, y) macro
63 value = (int)(pow((double)i/256.0, gamma)*65535.0+0.5);
/external/svox/pico/lib/
H A Dpicokpdf.c131 static picoos_uint8 convScaleFactorToBig(picoos_uint8 pow, picoos_uint8 bigpow) argument
133 if (pow > 0x0F) {
134 pow = bigpow + (0xFF - pow + 1); /* take 2's complement of negative pow */
135 } else if (bigpow >= pow) {
136 pow = bigpow - pow;
138 /* error: bigpow is smaller than input pow */
141 return pow;
[all...]
H A Dpicocep.c477 * multiply by 1<<pow and check overflow
479 * @param pow : shift value
484 static picoos_int32 picocep_fixptmultpow(picoos_int32 a, picoos_uint8 pow) argument
489 if (picocep_highestBitS(a,zzz) + pow < 32) {
490 b = a << pow;
496 }PICODBG_WARN(("picocep_fixptmultpow warning: overflow in fixed point multiplication %i*1<<%i. Clipping to %i\n", a, pow, b));
502 * divide by 1<<pow with rounding
504 * @param pow : shift value
509 static picoos_int32 picocep_fixptdivpow(picoos_int32 a, picoos_uint8 pow) argument
516 big = 1 << (pow
601 picoos_uint8 multsz, pow; local
[all...]
/external/clang/test/CodeGenCXX/
H A Dtemp-order.cpp5 static unsigned pow(unsigned Base, unsigned Power) { function
30 TT.Product *= pow(P, ++TT.Index);
154 #define ORDER2(a, b) (pow(a, 1) * pow(b, 2))
155 #define ORDER3(a, b, c) (ORDER2(a, b) * pow(c, 3))
156 #define ORDER4(a, b, c, d) (ORDER3(a, b, c) * pow(d, 4))
157 #define ORDER5(a, b, c, d, e) (ORDER4(a, b, c, d) * pow(e, 5))
158 #define ORDER6(a, b, c, d, e, f) (ORDER5(a, b, c, d, e) * pow(f, 6))
/external/stlport/src/
H A Dcomplex.cpp198 // exp, log, pow for complex<float>, complex<double>, and complex<long double>
265 // pow
305 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const float& a, const complex<float>& b) function
308 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& z_in, int n) function
311 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& a, const float& b) function
314 _STLP_DECLSPEC complex<float> _STLP_CALL pow(const complex<float>& a, const complex<float>& b) function
317 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const double& a, const complex<double>& b) function
320 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>& z_in, int n) function
323 _STLP_DECLSPEC complex<double> _STLP_CALL pow(const complex<double>& a, const double& b) function
326 _STLP_DECLSPEC complex<double> _STLP_CALL pow(cons function
330 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const long double& a, function
335 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>& z_in, int n) function
338 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>& a, function
342 _STLP_DECLSPEC complex<long double> _STLP_CALL pow(const complex<long double>& a, function
[all...]
/external/webkit/Source/JavaScriptCore/wtf/
H A DMathExtras.h183 // Work around a bug in the Microsoft CRT, where pow(NaN, 0) yields NaN instead of 1.
184 inline double wtf_pow(double x, double y) { return y == 0 ? 1 : pow(x, y); }
188 #define pow(x, y) wtf_pow(x, y) macro
/external/stlport/stlport/stl/
H A D_cmath.h382 _STLP_DMATH_INLINE2(pow)
453 _STLP_DEF_MATH_INLINE2(pow, pow)
458 inline float pow(float __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::powf(__x, __STATIC_CAST(float,__y)); } function
460 inline float pow(float __x, int __y) { return ::__powf(__x, __STATIC_CAST(float,__y)); }
463 inline float pow(float __x, int __y) { return __STATIC_CAST(float, _STLP_CMATH_FUNC_NAMESPACE::pow(__x, __STATIC_CAST(float,__y))); }
465 inline double pow(double __x, int __y) { return _STLP_CMATH_FUNC_NAMESPACE::pow(__x, __STATIC_CAST(double,__y)); } function
469 inline long double pow(lon function
472 inline long double pow(long double __x, int __y) { return ::__powl(__x, __STATIC_CAST(long double,__y)); } function
474 inline long double pow(long double __x, int __y) { return _STLP_VENDOR_CSTD::__powl(__x, __STATIC_CAST(long double,__y)); } function
478 inline long double pow(long double __x, int __y) { return __STATIC_CAST(long double, _STLP_CMATH_FUNC_NAMESPACE::pow(__x, __STATIC_CAST(long double,__y))); } function
[all...]
/external/icu4c/i18n/
H A Dnfsubs.cpp1279 int32_t pow = 0; local
1282 ++pow;
H A DdecNumber.c3628 uInt u, pow; /* work */ local
3665 for (; cut>=0; c++, cut--) TODIGIT(u, cut, c, pow);
3713 TODIGIT(u, cut, c, pow);
3724 TODIGIT(u, cut, c, pow);
3740 TODIGIT(u, cut, c, pow);
3758 TODIGIT(u, cut, c, pow);
4255 uInt const *pow; /* .. */ local
4472 for (pow=&powers[1]; *msu1>=*pow; pow
7771 uInt const *pow; /* work */ local
[all...]
/external/clang/lib/Headers/
H A Dtgmath.h469 // pow
477 __tg_pow(double __x, double __y) {return pow(__x, __y);}
496 #undef pow macro
497 #define pow(__x, __y) __tg_pow(__tg_promote2((__x), (__y))(__x), \ macro
/external/dropbear/libtommath/mtest/
H A Dmpi.c666 int pow; local
674 if((pow = s_mp_ispow2d(d)) >= 0) {
677 mask = (1 << pow) - 1;
682 s_mp_div_2d(q, pow);
3872 int pow = 0; local
3875 ++pow; d >>= 1;
3879 return pow;
/external/webkit/Source/WebKit/chromium/src/
H A DWebViewImpl.cpp143 // Get rid of WTF's pow define so we can use std::pow.
144 #undef pow macro
145 #include <cmath> // for std::pow
1711 return std::pow(textSizeMultiplierRatio, zoomLevel);
/external/v8/benchmarks/
H A Dcrypto.js156 BI_FV = Math.pow(2,BI_FP);
719 var a = Math.pow(b,cs);
734 var d = Math.pow(b,cs), mi = false, j = 0, w = 0;
750 this.dMultiply(Math.pow(b,j));
1331 BigInteger.prototype.pow = bnPow;
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-crypto.js148 BI_FV = Math.pow(2,BI_FP);
711 var a = Math.pow(b,cs);
726 var d = Math.pow(b,cs), mi = false, j = 0, w = 0;
742 this.dMultiply(Math.pow(b,j));
1323 BigInteger.prototype.pow = bnPow;
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-crypto.js148 BI_FV = Math.pow(2,BI_FP);
711 var a = Math.pow(b,cs);
726 var d = Math.pow(b,cs), mi = false, j = 0, w = 0;
742 this.dMultiply(Math.pow(b,j));
1323 BigInteger.prototype.pow = bnPow;
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-crypto.js148 BI_FV = Math.pow(2,BI_FP);
711 var a = Math.pow(b,cs);
726 var d = Math.pow(b,cs), mi = false, j = 0, w = 0;
742 this.dMultiply(Math.pow(b,j));
1323 BigInteger.prototype.pow = bnPow;

Completed in 946 milliseconds