Searched defs:pow (Results 26 - 39 of 39) sorted by relevance

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
H A DDiagBigDecimal.java2259 /** Test the {@link com.ibm.icu.math.BigDecimal#pow} method. */
2270 (new Test("pow001")).ok="1".equals((new com.ibm.icu.math.BigDecimal("0.3")).pow(new com.ibm.icu.math.BigDecimal("0"),mcdef).toString());
2271 (new Test("pow002")).ok="0.3".equals((new com.ibm.icu.math.BigDecimal("0.3")).pow(new com.ibm.icu.math.BigDecimal("1"),mcdef).toString());
2272 (new Test("pow003")).ok="0.3".equals((new com.ibm.icu.math.BigDecimal("0.3")).pow(new com.ibm.icu.math.BigDecimal("1.00"),mcdef).toString());
2273 (new Test("pow004")).ok="0.09".equals((new com.ibm.icu.math.BigDecimal("0.3")).pow(new com.ibm.icu.math.BigDecimal("2.00"),mcdef).toString());
2274 (new Test("pow005")).ok="0.09".equals((new com.ibm.icu.math.BigDecimal("0.3")).pow(new com.ibm.icu.math.BigDecimal("2.000000000"),mcdef).toString());
2275 (new Test("pow006")).ok=("1E-8").equals((new com.ibm.icu.math.BigDecimal("10")).pow(new com.ibm.icu.math.BigDecimal("-8"),mcdef).toString());
2276 (new Test("pow007")).ok=("1E-7").equals((new com.ibm.icu.math.BigDecimal("10")).pow(new com.ibm.icu.math.BigDecimal("-7"),mcdef).toString());
2277 (new Test("pow008")).ok="0.000001".equals((new com.ibm.icu.math.BigDecimal("10")).pow(new com.ibm.icu.math.BigDecimal("-6"),mcdef).toString());
2278 (new Test("pow009")).ok="0.00001".equals((new com.ibm.icu.math.BigDecimal("10")).pow(ne
5308 mathtest(int test, com.ibm.icu.math.MathContext mc, java.lang.String slhs, java.lang.String srhs, java.lang.String add, java.lang.String sub, java.lang.String mul, java.lang.String div, java.lang.String idv, java.lang.String rem, java.lang.String pow) argument
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DFastMath.java91 return (int) Math.pow(2, Math.ceil(Math.log(number) / Math.log(2)));
609 * so that pow(base, return)==value (contributed by vear)
623 * @see java.lang.Math#pow(double, double)
625 public static float pow(float fBase, float fExponent) { method in class:FastMath
626 return (float) Math.pow(fBase, fExponent);
/external/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp52 Ambiguous pow(Ambiguous, Ambiguous){ return Ambiguous(); } function
421 static_assert((std::is_same<decltype(std::pow((float)0, (float)0)), float>::value), "");
422 static_assert((std::is_same<decltype(std::pow((bool)0, (float)0)), double>::value), "");
423 static_assert((std::is_same<decltype(std::pow((unsigned short)0, (double)0)), double>::value), "");
424 static_assert((std::is_same<decltype(std::pow((int)0, (long double)0)), long double>::value), "");
425 static_assert((std::is_same<decltype(std::pow((float)0, (unsigned int)0)), double>::value), "");
426 static_assert((std::is_same<decltype(std::pow((double)0, (long)0)), double>::value), "");
427 static_assert((std::is_same<decltype(std::pow((long double)0, (unsigned long)0)), long double>::value), "");
428 static_assert((std::is_same<decltype(std::pow((int)0, (long long)0)), double>::value), "");
429 static_assert((std::is_same<decltype(std::pow((in
[all...]
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h378 friend const mpreal pow (const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode);
379 friend const mpreal pow (const mpreal& a, const mpz_t b, mp_rnd_t rnd_mode);
380 friend const mpreal pow (const mpreal& a, const unsigned long int b, mp_rnd_t rnd_mode);
381 friend const mpreal pow (const mpreal& a, const long int b, mp_rnd_t rnd_mode);
382 friend const mpreal pow (const unsigned long int a, const mpreal& b, mp_rnd_t rnd_mode);
383 friend const mpreal pow (const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode);
860 // pow
861 const mpreal pow(const mpreal& a, const unsigned int b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
862 const mpreal pow(const mpreal& a, const int b, mp_rnd_t rnd_mode = mpreal::get_default_rnd());
863 const mpreal pow(cons
2652 inline const mpreal pow(const mpreal& a, const mpreal& b, mp_rnd_t rnd_mode = mpreal::get_default_rnd()) function in namespace:mpfr
2659 inline const mpreal pow(const mpreal& a, const mpz_t b, mp_rnd_t rnd_mode = mpreal::get_default_rnd()) function in namespace:mpfr
2666 inline const mpreal pow(const mpreal& a, const unsigned long int b, mp_rnd_t rnd_mode = mpreal::get_default_rnd()) function in namespace:mpfr
2673 inline const mpreal pow(const mpreal& a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2678 inline const mpreal pow(const mpreal& a, const long int b, mp_rnd_t rnd_mode = mpreal::get_default_rnd()) function in namespace:mpfr
2685 inline const mpreal pow(const mpreal& a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2690 inline const mpreal pow(const mpreal& a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2695 inline const mpreal pow(const mpreal& a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2700 inline const mpreal pow(const unsigned long int a, const mpreal& b, mp_rnd_t rnd_mode = mpreal::get_default_rnd()) function in namespace:mpfr
2707 inline const mpreal pow(const unsigned int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2712 inline const mpreal pow(const long int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2718 inline const mpreal pow(const int a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2724 inline const mpreal pow(const long double a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2729 inline const mpreal pow(const double a, const mpreal& b, mp_rnd_t rnd_mode) function in namespace:mpfr
2735 inline const mpreal pow(const unsigned long int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2742 inline const mpreal pow(const unsigned long int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2747 inline const mpreal pow(const unsigned long int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2753 inline const mpreal pow(const unsigned long int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2759 inline const mpreal pow(const unsigned long int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2764 inline const mpreal pow(const unsigned long int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2770 inline const mpreal pow(const unsigned int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2775 inline const mpreal pow(const unsigned int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2780 inline const mpreal pow(const unsigned int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2786 inline const mpreal pow(const unsigned int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2792 inline const mpreal pow(const unsigned int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2797 inline const mpreal pow(const unsigned int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2803 inline const mpreal pow(const long int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2809 inline const mpreal pow(const long int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2815 inline const mpreal pow(const long int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2826 inline const mpreal pow(const long int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2837 inline const mpreal pow(const long int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2843 inline const mpreal pow(const long int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2850 inline const mpreal pow(const int a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2856 inline const mpreal pow(const int a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2862 inline const mpreal pow(const int a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2873 inline const mpreal pow(const int a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2884 inline const mpreal pow(const int a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2890 inline const mpreal pow(const int a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2897 inline const mpreal pow(const long double a, const long double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2902 inline const mpreal pow(const long double a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2907 inline const mpreal pow(const long double a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2912 inline const mpreal pow(const long double a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2917 inline const mpreal pow(const long double a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2922 inline const mpreal pow(const double a, const double b, mp_rnd_t rnd_mode) function in namespace:mpfr
2927 inline const mpreal pow(const double a, const unsigned long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2932 inline const mpreal pow(const double a, const unsigned int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2937 inline const mpreal pow(const double a, const long int b, mp_rnd_t rnd_mode) function in namespace:mpfr
2942 inline const mpreal pow(const double a, const int b, mp_rnd_t rnd_mode) function in namespace:mpfr
[all...]
/external/svox/pico/lib/
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/icu/icu4c/source/i18n/
H A DdecNumber.c3657 uInt u, pow; /* work */ local
3694 for (; cut>=0; c++, cut--) TODIGIT(u, cut, c, pow);
3742 TODIGIT(u, cut, c, pow);
3753 TODIGIT(u, cut, c, pow);
3769 TODIGIT(u, cut, c, pow);
3787 TODIGIT(u, cut, c, pow);
4286 uInt const *pow; /* .. */ local
4503 for (pow=&powers[1]; *msu1>=*pow; pow
7814 uInt const *pow; /* work */ local
[all...]
/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/owasp/sanitizer/tools/findbugs/lib/
H A Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/lang/ ...
H A Dbcel.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.pde.api.tools_1.0.202.v20100820_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...

Completed in 647 milliseconds

12