/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 39 * The double value closest to e, the base of the natural logarithm. 41 public static final double E = Math.E; 44 * The double value closest to pi, the ratio of a circle's circumference to 47 public static final double PI = Math.PI; 66 public static double abs(double d) { 106 * Returns the closest double approximation of the arc cosine of the 120 public static native double acos(double d); 123 * Returns the closest double approximation of the arc sine of the argumen [all...] |
/external/llvm/test/CodeGen/X86/ |
avx-vextractf128.ll | 15 define <4 x double> @B(<4 x double> %a) nounwind uwtable readnone ssp { 17 %shuffle = shufflevector <4 x double> %a, <4 x double> undef, <4 x i32> <i32 2, i32 3, i32 4, i32 4> 18 ret <4 x double> %shuffle 39 define void @t2(double* nocapture %addr, <4 x double> %a) nounwind uwtable ssp { 41 %0 = tail call <2 x double> @llvm.x86.avx.vextractf128.pd.256(<4 x double> %a, i8 1) 42 %1 = bitcast double* %addr to <2 x double> [all...] |
2008-08-06-RewriterBug.ll | 6 define void @foo(double* noalias, double* noalias) { 14 load double** getelementptr (double** bitcast ([400 x i64]* @data to double**), i64 180), align 8 ; <double*>:8 [#uses=1] 15 bitcast double* %8 to double* ; <double*>:9 [#uses=1] 16 ptrtoint double* %9 to i64 ; <i64>:10 [#uses=1 [all...] |
avx-cast.ll | 13 define <4 x double> @castB(<2 x double> %m) nounwind uwtable readnone ssp { 15 %shuffle.i = shufflevector <2 x double> %m, <2 x double> zeroinitializer, <4 x i32> <i32 0, i32 1, i32 2, i32 2> 16 ret <4 x double> %shuffle.i 42 define <2 x double> @castF(<4 x double> %m) nounwind uwtable readnone ssp { 44 %shuffle.i = shufflevector <4 x double> %m, <4 x double> %m, <2 x i32> <i32 0, i32 1> 45 ret <2 x double> %shuffle. [all...] |
avx-vshufp.ll | 36 define <4 x double> @B(<4 x double> %a, <4 x double> %b) nounwind uwtable readnone ssp { 38 %shuffle = shufflevector <4 x double> %a, <4 x double> %b, <4 x i32> <i32 0, i32 5, i32 2, i32 7> 39 ret <4 x double> %shuffle 43 define <4 x double> @B2(<4 x double>* %a, <4 x double>* %b) nounwind uwtable readnone ssp { 45 %a2 = load <4 x double>* % [all...] |
avx-arith.ll | 4 define <4 x double> @addpd256(<4 x double> %y, <4 x double> %x) nounwind uwtable readnone ssp { 6 %add.i = fadd <4 x double> %x, %y 7 ret <4 x double> %add.i 11 define <4 x double> @addpd256fold(<4 x double> %y) nounwind uwtable readnone ssp { 13 %add.i = fadd <4 x double> %y, <double 4.500000e+00, double 3.400000e+00, double 2.300000e+00, double 1.200000e+00 [all...] |
/external/valgrind/main/none/tests/ppc32/ |
power5+_round.c | 44 double inf, neg0, nan; 46 double d; 59 double set[] = { inf, 1.5, 0, neg0, -1.5, -inf, nan }; 84 double set[] = { inf, 1.9, 1.1, 0, neg0, -1.1, -1.9, -inf, nan }; 85 double frin[] = { inf, 2.0, 1.0, 0, neg0, -1.0, -2.0, -inf, nan }; 86 double friz[] = { inf, 1.0, 1.0, 0, neg0, -1.0, -1.0, -inf, nan }; 87 double frip[] = { inf, 2.0, 2.0, 0, neg0, -1.0, -1.0, -inf, nan }; 88 double frim[] = { inf, 1.0, 1.0, 0, neg0, -2.0, -2.0, -inf, nan }; 92 double set2[] = { 0.9, 0.1, -0.1, -0.9, 1e-40, -1e-40 }; 93 double frin2[] = { 1.0, 0.0, -0.0, -1.0, 0.0, -0.0 } [all...] |
/external/valgrind/main/memcheck/tests/ |
vcpu_fnfns.c | 11 double d; 15 const double tinyD = 0.0000000001; 16 const double tinyF = 0.0001; 27 printf("floorF(%+20.4e) = %+20.4e\n", (double)f, (double)floorf(f)); 39 printf(" ceilF(%+20.4e) = %+20.4e\n", (double)f, (double)ceilf(f)); 51 printf(" sinF(%+20.4e) = %+20.4e\n", (double)f, (double)sinf(f)); 63 printf(" cosF(%+20.4e) = %+20.4e\n", (double)f, (double)cosf(f)) [all...] |
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEColorMatrix.cpp | 76 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& values) 78 double r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha + values[4] * 255; 79 double g = values[5] * red + values[6] * green + values[7] * blue + values[8] * alpha + values[9] * 255; 80 double b = values[10] * red + values[11] * green + values[12] * blue + values[13] * alpha + values[14] * 255; 81 double a = values[15] * red + values[16] * green + values[17] * blue + values[18] * alpha + values[19] * 255; 89 inline void saturate(double& red, double& green, double& blue, const float& s [all...] |
/external/opencv/cvaux/src/ |
cvvecfacetracking.cpp | 61 const double pi = 3.1415926535; 72 inline double CalculateTransformationLMS3_0( CvPoint* pTemplPoints, CvPoint* pSrcPoints); 73 inline double CalculateTransformationLMS3( CvPoint* pTemplPoints, 75 double* pdbAverageScale, 76 double* pdbAverageRotate, 77 double* pdbAverageShiftX, 78 double* pdbAverageShiftY ); 111 double dbRotateDelta; 112 double dbRotateAngle; 461 cvTrackFace(CvFaceTracker* pFaceTracker, IplImage* imgGray, CvRect* pRects, int nRects, CvPoint* ptRotate, double* dbAngleRotate [all...] |
_cvfacedetection.h | 55 FaceFeature(double dWeight,void * lpContour,bool bIsFeature); 60 inline double GetWeight(); 62 inline void SetWeight(double dWeight); 65 double m_dWeight; 85 inline double FaceFeature::GetWeight() 95 inline void FaceFeature::SetWeight(double dWeight) 98 }//inline void FaceFeature::SetWeight(double * dWeight) 136 inline MouthFaceTemplate(long lNumber,CvRect rect,double dEyeWidth,double dEyeHeight,double dDistanceBetweenEye,double dDistanceEyeAboveMouth) [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
NavCalculator.java | 19 private double distance; 20 private double trueCourse; 88 double dLat = computeDLat(p1.getLatitude(), p2.getLatitude()); 95 double dLong = computeDLong(p1.getLongitude(), p2.getLongitude()); 96 double dmp = (float) computeDMPClarkeSpheroid(p1.getLatitude(), p2.getLatitude()); 99 double degCrs = convertCourse((float) trueCourse, p1, p2); 119 double dLong = computeDLong(p1.getLongitude(), p2.getLongitude()); 121 double sgnDLong = 0 - (dLong / Math.abs(dLong)); 126 double redist = 0; 127 double recourse = 0 [all...] |
/bionic/libm/bsdsrc/ |
mathimpl.h | 47 * IEEE double variable to zero. It must be expression-like for syntactic 55 _b_trunc(volatile double *_dp) 63 struct Double { 64 double a; 65 double b; 71 double __exp__D(double, double); 72 struct Double __log__D(double); [all...] |
/external/clang/test/CodeGen/ |
x86_32-arguments-linux.c | 7 // CHECK: <1 x double> %a4, %struct.s56_2* byval align 4, 9 // CHECK: <2 x double> %a8, %struct.s56_4* byval align 4, 11 // CHECK: <4 x double> %a12, %struct.s56_6* byval align 4) 16 // CHECK: <1 x double> %{{[^ ]*}}, %struct.s56_2* byval align 4 %{{[^ ]*}}, 18 // CHECK: <2 x double> %{{[^ ]*}}, %struct.s56_4* byval align 4 %{{[^ ]*}}, 20 // CHECK: <4 x double> %{{[^ ]*}}, %struct.s56_6* byval align 4 %{{[^ ]*}}) 23 // <rdar://problem/7964854> [i386] clang misaligns long double in structures 27 typedef double __attribute__((vector_size (8))) t56_v1d; 29 typedef double __attribute__((vector_size (16))) t56_v2d; 31 typedef double __attribute__((vector_size (32))) t56_v4d [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AtomicDoubleArrayTest.java | 24 private static final double[] VALUES = { 25 Double.NEGATIVE_INFINITY, 26 -Double.MAX_VALUE, 27 (double) Long.MIN_VALUE, 28 (double) Integer.MIN_VALUE, 31 -Double.MIN_VALUE, 34 Double.MIN_VALUE, 37 (double) Integer.MAX_VALUE, 38 (double) Long.MAX_VALUE, 39 Double.MAX_VALUE [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
DoubleMemberValue.java | 24 * Double floating-point number constant value. 34 * Constructs a double constant value. The initial value is specified 45 * Constructs a double constant value. 49 public DoubleMemberValue(double d, ConstPool cp) { 55 * Constructs a double constant value. The initial value is 0.0. 63 return new Double(getValue()); 67 return double.class; 73 public double getValue() { 80 public void setValue(double newValue) { 88 return Double.toString(getValue()) [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
DoubleConst.java | 22 * Double constant. 25 protected double value; 28 public DoubleConst(double v, int tokenId) { value = v; type = tokenId; } 30 public double get() { return value; } 32 public void set(double v) { value = v; } 38 public String toString() { return Double.toString(value); } 65 return compute(op, this.value, (double)right.value, this.type); 68 private static DoubleConst compute(int op, double value1, double value2, 71 double newValue [all...] |
/external/llvm/test/CodeGen/ARM/ |
unaligned_load_store.ll | 31 define void @hword(double* %a, double* %b) nounwind { 42 %tmp = load double* %a, align 2 43 store double %tmp, double* %b, align 2 47 define void @byte(double* %a, double* %b) nounwind { 58 %tmp = load double* %a, align 1 59 store double %tmp, double* %b, align [all...] |
/frameworks/base/core/java/android/gesture/ |
InstanceLearner.java | 31 double score1 = object1.score; 32 double score2 = object2.score; 48 TreeMap<String, Double> label2score = new TreeMap<String, Double>(); 54 double distance; 60 double weight; 62 weight = Double.MAX_VALUE; 66 Double score = label2score.get(sample.label); 72 // double sum = 0; 74 double score = label2score.get(name) [all...] |
/libcore/json/src/main/java/org/json/ |
JSON.java | 23 static double checkDouble(double d) throws JSONException { 24 if (Double.isInfinite(d) || Double.isNaN(d)) { 44 static Double toDouble(Object value) { 45 if (value instanceof Double) { 46 return (Double) value; 51 return Double.valueOf((String) value); 65 return (int) Double.parseDouble((String) value); 79 return (long) Double.parseDouble((String) value) [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 59 double lft, rgt, top, bot; 71 double trs[3][3]; 136 double theta; 137 double x; 138 double y; 139 double width; 140 double radius; 141 double direction; 142 double correction; 150 double roundoffOverlap;// 1. [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 59 double lft, rgt, top, bot; 71 double trs[3][3]; 136 double theta; 137 double x; 138 double y; 139 double width; 140 double radius; 141 double direction; 142 double correction; 150 double roundoffOverlap;// 1. [all...] |
/system/extras/tests/bionic/libc/common/ |
test_drand48.c | 4 double drand48(void); 9 double_eq(double a, double b) 11 /* Compare two double values, and return 1 if they are "close" enough */ 12 double diff = a -b; 43 double _val = (value); \ 44 double _expected = (expected); \ 59 double d = -87.65432e45; 61 // Verify display of hard-coded float and double values. 66 printf(" f: %g\n", (double) f) [all...] |
/external/clang/test/SemaCXX/ |
addr-of-overloaded-function.cpp | 2 int f(double); // expected-note{{candidate function}} 5 int (*pfd)(double) = f; // selects f(double) 6 int (*pfd2)(double) = &f; // selects f(double) 7 int (*pfd3)(double) = ((&((f)))); // selects f(double) 14 int (&rfd)(double) = f; // selects f(double) 18 void g(int (*fp)(double)); // expected-note{{candidate function} [all...] |
/frameworks/compile/libbcc/tests/data/src/ |
flops.c | 11 printf("double op double:\n"); 23 printf("double op float:\n"); 29 printf("double op int:\n"); 35 printf("int op double:\n"); 42 void comparisonTestdd(double a, double b) { 48 printf("double op double:\n"); 55 void comparisonTestdf(double a, float b) [all...] |