/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_acos.c | 24 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2))) 25 * = 2asin(sqrt((1-x)/2)) 26 * = 2s + 2s*z*R(z) ...z=(1-x)/2, s=sqrt(z) 29 * for f so that f+c ~ sqrt(z). 31 * acos(x) = pi - 2asin(sqrt((1-|x|)/2)) 32 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z) 38 * Function needed: sqrt 91 s = sqrt(z); 97 s = sqrt(z);
|
/external/eigen/Eigen/src/Core/ |
StableNorm.h | 60 return scale * internal::sqrt(ssq); 112 relerr = internal::sqrt(eps); // tolerance for neglecting asml 131 abig = internal::sqrt(abig); 140 amed = internal::sqrt(amed); 149 abig = internal::sqrt(amed); 150 amed = internal::sqrt(asml) / s1m; 153 return internal::sqrt(asml)/s1m; 156 return internal::sqrt(amed); 162 return abig * internal::sqrt(RealScalar(1) + internal::abs2(asml/abig));
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/ |
SimpleTextured.frag | 16 newNorm.b = sqrt(1.0 - (newNorm.x * newNorm.x) - (newNorm.y * newNorm.y));
|
/external/stlport/test/unit/ |
unary.h | 21 { return ::sqrt(x_); }
|
/ndk/tests/device/test-gnustl-full/unit/ |
unary.h | 21 { return ::sqrt(x_); }
|
/ndk/tests/device/test-stlport/unit/ |
unary.h | 21 { return ::sqrt(x_); }
|
/external/jpeg/ |
jidctint.c | 48 * Each 1-D IDCT step produces outputs which are a factor of sqrt(N) 53 * because the y0 and y4 inputs need not be divided by sqrt(N). 165 /* Note results are scaled up by sqrt(8) compared to a true IDCT; */ 204 /* The rotator is sqrt(2)*c(-6). */ 237 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ 239 tmp0 = MULTIPLY(tmp0, FIX_0_298631336); /* sqrt(2) * (-c1+c3+c5-c7) */ 240 tmp1 = MULTIPLY(tmp1, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ 241 tmp2 = MULTIPLY(tmp2, FIX_3_072711026); /* sqrt(2) * ( c1+c3+c5-c7) */ 242 tmp3 = MULTIPLY(tmp3, FIX_1_501321110); /* sqrt(2) * ( c1+c3-c5-c7) */ 243 z1 = MULTIPLY(z1, - FIX_0_899976223); /* sqrt(2) * (c7-c3) * [all...] |
/external/qemu/distrib/jpeg-6b/ |
jidctint.c | 48 * Each 1-D IDCT step produces outputs which are a factor of sqrt(N) 53 * because the y0 and y4 inputs need not be divided by sqrt(N). 165 /* Note results are scaled up by sqrt(8) compared to a true IDCT; */ 204 /* The rotator is sqrt(2)*c(-6). */ 237 z5 = MULTIPLY(z3 + z4, FIX_1_175875602); /* sqrt(2) * c3 */ 239 tmp0 = MULTIPLY(tmp0, FIX_0_298631336); /* sqrt(2) * (-c1+c3+c5-c7) */ 240 tmp1 = MULTIPLY(tmp1, FIX_2_053119869); /* sqrt(2) * ( c1+c3-c5+c7) */ 241 tmp2 = MULTIPLY(tmp2, FIX_3_072711026); /* sqrt(2) * ( c1+c3+c5-c7) */ 242 tmp3 = MULTIPLY(tmp3, FIX_1_501321110); /* sqrt(2) * ( c1+c3-c5-c7) */ 243 z1 = MULTIPLY(z1, - FIX_0_899976223); /* sqrt(2) * (c7-c3) * [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
FloatMathTest.java | 41 // sqrt 42 assertEquals(5.0f, FloatMath.sqrt(25));
|
/external/fdlibm/ |
w_sqrt.c | 21 double ieee_sqrt(double x) /* wrapper sqrt */ 23 double ieee_sqrt(x) /* wrapper sqrt */
|
/external/libvpx/libvpx/vp8/common/ppc/ |
idctllm_altivec.asm | 48 vaddsws v4, v4, v0 ;# ip[ 4] * sin(pi/8) * sqrt(2) 52 vsraw v5, v5, v12 ;# ip[12] * cos(pi/8) * sqrt(2) 59 vaddsws v3, v3, v1 ;# ip[12] * sin(pi/8) * sqrt(2) 62 vsraw v5, v5, v12 ;# ip[ 4] * cos(pi/8) * sqrt(2) 92 vaddsws v4, v4, v1 ;# ip[ 4] * sin(pi/8) * sqrt(2) 95 vsraw v5, v5, v12 ;# ip[12] * cos(pi/8) * sqrt(2) 102 vaddsws v2, v2, v3 ;# ip[12] * sin(pi/8) * sqrt(2) 105 vsraw v5, v5, v12 ;# ip[ 4] * cos(pi/8) * sqrt(2)
|
/external/llvm/test/CodeGen/PowerPC/ |
fsqrt.ll | 13 declare double @llvm.sqrt.f64(double) 16 %Z = call double @llvm.sqrt.f64( double %Y ) ; <double> [#uses=1]
|
/external/llvm/test/CodeGen/X86/ |
2007-09-27-LDIntrinsics.ll | 7 %tmp2 = call x86_fp80 @llvm.sqrt.f80( x86_fp80 %x ) 16 declare x86_fp80 @llvm.sqrt.f80(x86_fp80)
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFloatMath.java | 47 public static float sqrt(float value) { method in class:ShadowFloatMath 48 return (float) Math.sqrt(value);
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/ |
sqrt.c | 43 extern float __attribute__((overloadable)) sqrt(float); 45 FN_FUNC_FN(sqrt)
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
math.ll | 4 declare float @llvm.sqrt.f32(float) 12 %1 = tail call float @llvm.sqrt.f32(float %v)
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
FloatMath_Delegate.java | 87 * @param value to compute sqrt of 91 /*package*/ static float sqrt(float value) { method in class:FloatMath_Delegate 92 return (float)Math.sqrt(value); 121 * Returns {@code sqrt(}<i>{@code x}</i><sup>{@code 2}</sup>{@code +} <i> 130 return (float)Math.sqrt(x*x + y*y);
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
eval.pass.cpp | 59 double dev = std::sqrt(var); 65 double x_skew = (1-2*d.p()) / std::sqrt(x_var); 99 double dev = std::sqrt(var); 105 double x_skew = (1-2*d.p()) / std::sqrt(x_var); 139 double dev = std::sqrt(var); 145 double x_skew = (1-2*d.p()) / std::sqrt(x_var); 179 double dev = std::sqrt(var); 185 double x_skew = (1-2*d.p()) / std::sqrt(x_var); 217 double dev = std::sqrt(var); 223 double x_skew = (1-2*d.p()) / std::sqrt(x_var) [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_constants.h | 184 * \brief sqrt(Pi) 189 * \brief sqrt(2*Pi) 194 * \brief sqrt(2) 199 * \brief sqrt(3) 204 * \brief sqrt(1/2)
|
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_utilities_constants.h | 184 * \brief sqrt(Pi) 189 * \brief sqrt(2*Pi) 194 * \brief sqrt(2) 199 * \brief sqrt(3) 204 * \brief sqrt(1/2)
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_constants.h | 184 * \brief sqrt(Pi) 189 * \brief sqrt(2*Pi) 194 * \brief sqrt(2) 199 * \brief sqrt(3) 204 * \brief sqrt(1/2)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/ |
special_function_util.h | 77 /// Constant @f$ 2 / \sqrt(\pi) @f$. 80 /// Constant @f$ \sqrt(2) @f$. 83 /// Constant @f$ \sqrt(3) @f$. 86 /// Constant @f$ \sqrt(\pi/2) @f$. 89 /// Constant @f$ 1 / sqrt(2) @f$.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/tr1/ |
special_function_util.h | 77 /// Constant @f$ 2 / \sqrt(\pi) @f$. 80 /// Constant @f$ \sqrt(2) @f$. 83 /// Constant @f$ \sqrt(3) @f$. 86 /// Constant @f$ \sqrt(\pi/2) @f$. 89 /// Constant @f$ 1 / sqrt(2) @f$.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/tr1/ |
special_function_util.h | 77 /// Constant @f$ 2 / \sqrt(\pi) @f$. 80 /// Constant @f$ \sqrt(2) @f$. 83 /// Constant @f$ \sqrt(3) @f$. 86 /// Constant @f$ \sqrt(\pi/2) @f$. 89 /// Constant @f$ 1 / sqrt(2) @f$.
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
special_function_util.h | 77 /// Constant @f$ 2 / \sqrt(\pi) @f$. 80 /// Constant @f$ \sqrt(2) @f$. 83 /// Constant @f$ \sqrt(3) @f$. 86 /// Constant @f$ \sqrt(\pi/2) @f$. 89 /// Constant @f$ 1 / sqrt(2) @f$.
|