/external/eigen/Eigen/src/plugins/ |
H A D | ArrayCwiseUnaryOps.h | 63 sqrt() const function
|
/external/guava/guava/src/com/google/common/math/ |
H A D | BigIntegerMath.java | 94 * Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 165 // Since sqrt(10) is irrational, log10(x) - floorLog can never be exactly 0.5 179 * {@code sqrt(x)} is not an integer 182 public static BigInteger sqrt(BigInteger x, RoundingMode mode) { method in class:BigIntegerMath 185 return BigInteger.valueOf(LongMath.sqrt(x.longValue(), mode)); 221 * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is 222 * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean, 225 * b) this iteration converges to floor(sqrt(x)). In fact, the number of correct digits doubles 230 * definitely >= floor(sqrt(x)), and then continue the iteration until we reach a fixed point. 256 return DoubleMath.roundToBigInteger(Math.sqrt(DoubleUtil [all...] |
H A D | IntMath.java | 93 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 134 // sqrt(10) is irrational, so log10(x) - logFloor is never exactly 0.5 203 * {@code sqrt(x)} is not an integer 207 public static int sqrt(int x, RoundingMode mode) { method in class:IntMath 237 return (int) Math.sqrt(x);
|
H A D | LongMath.java | 89 // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5 132 // sqrt(10) is irrational, so log10(x)-logFloor is never exactly 0.5 240 * {@code sqrt(x)} is not an integer 243 public static long sqrt(long x, RoundingMode mode) { method in class:LongMath 246 return IntMath.sqrt((int) x, mode); 275 long sqrt0 = (long) Math.sqrt(x);
|
/external/eigen/Eigen/src/Eigen2Support/ |
H A D | CwiseOperators.h | 92 /** \deprecated ArrayBase::sqrt() */ 95 Cwise<ExpressionType>::sqrt() const function in class:Eigen::Cwise
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | ECFieldElement.java | 20 public abstract ECFieldElement sqrt(); method in class:ECFieldElement 107 * return a sqrt root - the routine verifies that the calculation 110 public ECFieldElement sqrt() method in class:ECFieldElement.Fp 679 // public ECFieldElement sqrt() 1109 public ECFieldElement sqrt() method in class:ECFieldElement.F2m
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
H A D | MatrixSquareRoot.h | 50 * rest is not touched. See MatrixBase::sqrt() for details on 106 sqrtT.coeffRef(i,i) = internal::sqrt(T.coeff(i,i)); 279 * MatrixBase::sqrt() for details on how this computation is 302 result.coeffRef(i,i) = internal::sqrt(T.coeff(i,i)); 326 * \sa MatrixSquareRootTriangular, MatrixSquareRootQuasiTriangular, MatrixBase::sqrt() 346 * See MatrixBase::sqrt() for details on how this computation is 430 * MatrixBase::sqrt() and most of the time this is the only way it is 476 const MatrixSquareRootReturnValue<Derived> MatrixBase<Derived>::sqrt() const function in class:Eigen::MatrixBase
|
/external/jmonkeyengine/engine/src/android/jme3tools/android/ |
H A D | Fixed.java | 330 public static int sqrt(int n) { method in class:Fixed
|
/external/skia/src/core/ |
H A D | SkFloat.h | 51 void sqrt() { fPacked = Sqrt(fPacked); } function in class:SkFloat
|
/external/stlport/src/ |
H A D | complex.cpp | 176 result._M_re = ::sqrt(0.5f * (mag + re)); 179 result._M_im = ::sqrt(0.5f * (mag - re)); 188 sqrt(const complex<float>& z) { return sqrtT(z); } function 191 sqrt(const complex<double>& z) { return sqrtT(z); } function 195 sqrt(const complex<long double>& z) { return sqrtT(z); } function
|
/external/stlport/stlport/stl/ |
H A D | _cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 379 _STLP_DMATH_INLINE(sqrt) 405 # if defined (sqrt) 406 inline double __stlp_sqrt(double __x) { return sqrt(__x); } 407 # undef sqrt macro 408 inline double sqrt(double __x) { return __stlp_sqrt(__x); } function 450 _STLP_DEF_MATH_INLINE(sqrt, sqrt) 498 inline long double hypot(long double x, long double y) { return sqrt(x * x + y * y); } 504 inline double hypot(double x, double y) { return sqrt( [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | vcpu_fbench.c | 20 that the inner loops (sin, sqrt) present a workload independent of 350 #define sqrt I_sqrt macro 457 /* sqrt(x) Return square root. Initial guess, then Newton- 460 double sqrt(x) function 570 return atan2(x, sqrt(1 - x * x));
|
/external/valgrind/main/perf/ |
H A D | fbench.c | 16 that the inner loops (sin, sqrt) present a workload independent of 346 #define sqrt I_sqrt macro 453 /* sqrt(x) Return square root. Initial guess, then Newton- 456 double sqrt(x) function 566 return atan2(x, sqrt(1 - x * x));
|
/external/eigen/Eigen/src/Core/ |
H A D | MathFunctions.h | 370 return p * sqrt(RealScalar(1) + qp*qp); 408 * Implementation of sqrt * 416 using std::sqrt; 417 return sqrt(x); 445 inline EIGEN_MATHFUNC_RETVAL(sqrt, Scalar) sqrt(const Scalar& x) function in namespace:Eigen::internal 447 return EIGEN_MATHFUNC_IMPL(sqrt, Scalar)::run(x);
|
/external/clang/lib/Headers/ |
H A D | tgmath.h | 500 // sqrt 508 __tg_sqrt(double __x) {return sqrt(__x);} 526 #undef sqrt macro 527 #define sqrt(__x) __tg_sqrt(__tg_promote1((__x))(__x)) macro
|
/external/clang/lib/include/ |
H A D | tgmath.h | 500 // sqrt 508 __tg_sqrt(double __x) {return sqrt(__x);} 526 #undef sqrt macro 527 #define sqrt(__x) __tg_sqrt(__tg_promote1((__x))(__x)) macro
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | FastMath.java | 579 * Returns 1/sqrt(fValue) 581 * @return 1/sqrt(fValue) 582 * @see java.lang.Math#sqrt(double) 585 return (float) (1.0f / Math.sqrt(fValue)); 640 * @param fValue The value to sqrt. 642 * @see java.lang.Math#sqrt(double) 644 public static float sqrt(float fValue) { method in class:FastMath 645 return (float) Math.sqrt(fValue); 825 store.x = FastMath.sqrt((x * x) 861 store.x = FastMath.sqrt(( [all...] |
/external/eigen/unsupported/test/mpreal/ |
H A D | mpreal.h | 310 friend const mpreal sqrt(const mpreal& v, mp_rnd_t rnd_mode = mpreal::default_rnd);
311 friend const mpreal sqrt(const unsigned long int v, mp_rnd_t rnd_mode = mpreal::default_rnd);
610 // sqrt
611 const mpreal sqrt(const unsigned int v, mp_rnd_t rnd_mode = mpreal::default_rnd);
612 const mpreal sqrt(const long int v, mp_rnd_t rnd_mode = mpreal::default_rnd);
613 const mpreal sqrt(const int v, mp_rnd_t rnd_mode = mpreal::default_rnd);
614 const mpreal sqrt(const long double v, mp_rnd_t rnd_mode = mpreal::default_rnd);
615 const mpreal sqrt(const double v, mp_rnd_t rnd_mode = mpreal::default_rnd);
1645 inline const mpreal sqrt(const mpreal& v, mp_rnd_t rnd_mode)
function in namespace:mpfr 1652 inline const mpreal sqrt(cons function in namespace:mpfr 1659 inline const mpreal sqrt(const unsigned int v, mp_rnd_t rnd_mode) function in namespace:mpfr 1664 inline const mpreal sqrt(const long int v, mp_rnd_t rnd_mode) function in namespace:mpfr 1670 inline const mpreal sqrt(const int v, mp_rnd_t rnd_mode) function in namespace:mpfr 1676 inline const mpreal sqrt(const long double v, mp_rnd_t rnd_mode) function in namespace:mpfr 1681 inline const mpreal sqrt(const double v, mp_rnd_t rnd_mode) function in namespace:mpfr [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetLibraryInfo.h | 273 /// double sqrt(double x); 274 sqrt, enumerator in enum:llvm::LibFunc::Func 373 case LibFunc::sqrt: case LibFunc::sqrtf: case LibFunc::sqrtl:
|
/external/v8/src/ia32/ |
H A D | lithium-codegen-ia32.cc | 3002 // Math.sqrt(-Infinity) == NaN 3003 Label done, sqrt; local 3012 __ j(not_equal, &sqrt, Label::kNear); 3013 __ j(carry, &sqrt, Label::kNear); 3020 __ bind(&sqrt);
|
/external/v8/src/x64/ |
H A D | lithium-codegen-x64.cc | 2954 // Math.sqrt(-Infinity) == NaN 2955 Label done, sqrt; local 2963 __ j(not_equal, &sqrt, Label::kNear); 2964 __ j(carry, &sqrt, Label::kNear); 2971 __ bind(&sqrt);
|
/external/valgrind/main/VEX/priv/ |
H A D | guest_ppc_toIR.c | 10745 IRTemp sqrt = newTemp(Ity_F64); local 10755 assign( sqrt, 10765 redp ? mkexpr( frB ) : mkexpr( sqrt ) ) ),
|