/dalvik/tests/003-omnibus-opcodes/src/ |
FloatMath.java | 12 double d; 34 /* float --> double */ 36 d = (double) f; 39 /* double --> int */ 48 /* double --> long */ 57 /* double --> float */ 80 /* int --> double */ 82 d = (double) i; 86 d = (double) i; 107 /* long --> double */ [all...] |
/external/proguard/src/proguard/gui/ |
boilerplate.pro | 110 public static double sin(double); 111 public static double cos(double); 112 public static double tan(double); 113 public static double asin(double); 114 public static double acos(double); [all...] |
/external/icu4c/test/intltest/ |
tsputil.cpp | 35 double pinf = uprv_getInfinity(); 36 double ninf = -uprv_getInfinity(); 37 double nan = uprv_getNaN(); 38 double pzero = 0.0; 39 double nzero = 0.0; 81 PUtilTest::remainderTest(double x, double y, double exp) 83 double result = uprv_IEEEremainder(x,y); 101 double pinf = uprv_getInfinity() [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double/ |
Test_div_double.java | 61 * @title Arguments = Double.POSITIVE_INFINITY, 62 * Double.NEGATIVE_INFINITY 66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 67 Double.NEGATIVE_INFINITY)); 71 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 75 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 80 * @title Arguments = -2.7d, Double.NEGATIVE_INFINITY 84 assertEquals(0d, t.run(-2.7d, Double.NEGATIVE_INFINITY)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double_2addr/ |
Test_div_double_2addr.java | 61 * @title Arguments = Double.POSITIVE_INFINITY, 62 * Double.NEGATIVE_INFINITY 66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 67 Double.NEGATIVE_INFINITY)); 71 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 75 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 80 * @title Arguments = -2.7d, Double.NEGATIVE_INFINITY 84 assertEquals(0d, t.run(-2.7d, Double.NEGATIVE_INFINITY)) [all...] |
/external/clang/test/CodeGen/ |
const-init.c | 12 // Double-implicit-conversions of array/functions (not legal C, but 29 // CHECK: @g1x = global { double, double } { double 1.000000e+00{{[0]*}}, double 0.000000e+00{{[0]*}} } 30 _Complex double g1x = 1.0f; 31 // CHECK: @g1y = global { double, double } { double 0.000000e+00{{[0]*}}, double 1.000000e+00{{[0]*}} [all...] |
arm-aapcs-vfp.c | 22 double d[4]; 24 // CHECK: define arm_aapcs_vfpcc void @test_array(double %{{.*}}, double %{{.*}}, double %{{.*}}, double %{{.*}}) 30 extern void complex_callee(__complex__ double); 31 // CHECK: define arm_aapcs_vfpcc void @test_complex(double %{{.*}}, double %{{.*}}) 32 void test_complex(__complex__ double cd) {
|
/external/llvm/test/CodeGen/X86/ |
2007-11-30-LoadFolding-Bug.ll | 5 declare fastcc void @rdft(i32, i32, double*, i32*, double*) 7 define fastcc void @mp_sqrt(i32 %n, i32 %radix, i32* %in, i32* %out, i32* %tmp1, i32* %tmp2, i32 %nfft, double* %tmp1fft, double* %tmp2fft, i32* %ip, double* %w) nounwind { 40 %din_addr.1.reg2mem.0.i17.i = phi double [ 0.000000e+00, %cond_next36.i ], [ %tmp16.i25.i, %bb.i28.i ] ; <double> [#uses=1] 41 %tmp1.i18.i = fptosi double %din_addr.1.reg2mem.0.i17.i to i32 ; <i32> [#uses=2] 45 %tmp1213.i23.i = sitofp i32 %x.0.i21.i to double ; <double> [#uses=1 [all...] |
2009-01-16-UIntToFP.ll | 24 %7 = uitofp i32 %6 to double ; <double> [#uses=1] 25 %8 = fmul double %7, 0x41F0000000000000 ; <double> [#uses=1] 27 %10 = uitofp i32 %9 to double ; <double> [#uses=1] 28 %11 = fadd double %10, %8 ; <double> [#uses=1] 29 %12 = fptrunc double %11 to float ; <float> [#uses=1]
|
dagcombine-cse.ll | 19 %tmp3454 = bitcast i64 %tmp29 to double ; <double> [#uses=1] 20 %tmp35 = insertelement <2 x double> undef, double %tmp3454, i32 0 ; <<2 x double>> [#uses=1] 21 %tmp36 = insertelement <2 x double> %tmp35, double 0.000000e+00, i32 1 ; <<2 x double>> [#uses=1] 22 %tmp42 = bitcast <2 x double> %tmp36 to <8 x i16> ; <<8 x i16>> [#uses=1]
|
optimize-max-2.ll | 10 define void @foo(double* nocapture %p, i64 %x, i64 %y) nounwind { 20 %scevgep = getelementptr double* %p, i64 %i.07 ; <double*> [#uses=2] 21 %0 = load double* %scevgep, align 8 ; <double> [#uses=1] 22 %1 = fmul double %0, 2.000000e+00 ; <double> [#uses=1] 23 store double %1, double* %scevgep, align 8
|
/libcore/luni/src/main/java/java/nio/ |
DoubleToByteBufferAdapter.java | 22 * This class wraps a byte buffer to be a double buffer. 45 super(byteBuffer.capacity() / SizeOf.DOUBLE); 66 byteBuffer.limit(limit * SizeOf.DOUBLE); 67 byteBuffer.position(position * SizeOf.DOUBLE); 87 public double get() { 91 return byteBuffer.getDouble(position++ * SizeOf.DOUBLE); 95 public double get(int index) { 97 return byteBuffer.getDouble(index * SizeOf.DOUBLE); 101 public DoubleBuffer get(double[] dst, int dstOffset, int doubleCount) { 102 byteBuffer.limit(limit * SizeOf.DOUBLE); [all...] |
/external/llvm/test/CodeGen/ARM/ |
2010-06-21-LdStMultipleBug.ll | 6 %struct.tilebox = type { %struct.tilebox*, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } 8 %struct.cellbox = type { i8*, i32, i32, i32, [9 x i32], i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, i32, i32, %struct.CONTENTBOX*, %struct.UNCOMBOX*, [8 x %struct.tilebox*] } 46 %13 = sitofp i32 %12 to double ; <double> [#uses=1 [all...] |
/external/webkit/Source/WebCore/html/ |
RangeInputType.cpp | 58 static const double rangeDefaultMinimum = 0.0; 59 static const double rangeDefaultMaximum = 100.0; 60 static const double rangeDefaultStep = 1.0; 61 static const double rangeStepScaleFactor = 1.0; 78 double RangeInputType::valueAsNumber() const 80 return parseToDouble(element()->value(), numeric_limits<double>::quiet_NaN()); 83 void RangeInputType::setValueAsNumber(double newValue, ExceptionCode&) const 96 ASSERT_UNUSED(value, parseToDouble(value, numeric_limits<double>::quiet_NaN()) >= minimum()); 103 ASSERT_UNUSED(value, parseToDouble(value, numeric_limits<double>::quiet_NaN()) <= maximum()); 112 double RangeInputType::minimum() cons [all...] |
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
TransformationMatrix.cpp | 70 typedef double Vector4[4]; 71 typedef double Vector3[3]; 73 const double SMALL_NUMBER = 1.e-8; 83 // double = determinant2x2(double a, double b, double c, double d) 87 static double determinant2x2(double a, double b, double c, double d [all...] |
/cts/tools/dx-tests/src/dxc/junit/opcodes/dneg/ |
Test_dneg.java | 59 * @title Argument = Double.NaN 63 assertEquals(Double.NaN, t.run(Double.NaN)); 67 * @title Argument = Double.NEGATIVE_INFINITY 71 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.NEGATIVE_INFINITY)); 75 * @title Argument = Double.POSITIVE_INFINITY 79 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY)); 83 * @title Argument = Double.MAX_VALU [all...] |
/external/webkit/Source/WebCore/webaudio/ |
DelayDSPKernel.cpp | 36 const double DefaultMaxDelayTime = 1.0; 37 const double SmoothingTimeConstant = 0.020; // 20ms 57 DelayDSPKernel::DelayDSPKernel(double maxDelayTime, double sampleRate) 91 double sampleRate = this->sampleRate(); 92 double delayTime = delayProcessor() ? delayProcessor()->delayTime()->value() : m_desiredDelayFrames / sampleRate; 108 double desiredDelayFrames = m_currentDelayTime * sampleRate; 110 double readPosition = m_writeIndex + bufferLength - desiredDelayFrames; 117 double interpolationFactor = readPosition - readIndex1; 119 double input = static_cast<float>(*source++) [all...] |
/external/chromium/chrome/browser/chromeos/ |
audio_handler.h | 27 double GetVolumePercent(); 32 void SetVolumePercent(double volume_percent); 37 void AdjustVolumeByPercent(double adjust_by_percent); 74 double VolumeDbToPercent(double volume_db) const; 75 double PercentToVolumeDb(double volume_percent) const; 84 double max_volume_db_; 85 double min_volume_db_;
|
/external/clang/test/SemaTemplate/ |
class-template-spec.cpp | 5 template<> struct A<double, double>; // expected-note{{forward declaration}} 19 int test_incomplete_specs(A<double, double> *a1, 20 A<double> *a2) 23 (void)a2->x; // expected-error{{implicit instantiation of undefined template 'A<double, int>'}} 73 struct A<double> { }; // expected-error{{template specialization requires 'template<>'}} 75 template<> struct ::A<double>; 94 template<> struct ::A<long double>; // expected-error{{originally}}
|
/external/fdlibm/ |
s_modf.c | 15 * ieee_modf(double x, double *iptr) 27 static const double one = 1.0; 29 static double one = 1.0; 33 double ieee_modf(double x, double *iptr) 35 double ieee_modf(x, iptr) 36 double x,*iptr;
|
/external/iproute2/tc/ |
tc_red.c | 30 int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob) 56 double W = 0.5; 57 double a = (double)burst + 1 - (double)qmin/avpkt; 74 double xmit_time = tc_calc_xmittime(bps, avpkt); 75 double lW = -log(1.0 - 1.0/(1<<Wlog))/xmit_time; 76 double maxtime = 31/lW; 79 double tmp;
|
/external/llvm/test/Analysis/TypeBasedAliasAnalysis/ |
licm.ll | 8 ; CHECK-NEXT: %tmp3 = load double** @P, !tbaa !0 11 @P = common global double* null 19 %tmp3 = load double** @P, !tbaa !1 20 %scevgep = getelementptr double* %tmp3, i64 %i.07 21 %tmp4 = load double* %scevgep, !tbaa !2 22 %mul = fmul double %tmp4, 2.300000e+00 23 store double %mul, double* %scevgep, !tbaa !2 34 !2 = metadata !{metadata !"double", metadata !0}
|
/external/llvm/test/CodeGen/Mips/ |
o32_cc.ll | 11 tail call void @f0(double 5.000000e+00, double 6.000000e+00) nounwind 15 declare void @f0(double, double) 33 tail call void @f2(float 8.000000e+00, double 6.000000e+00) nounwind 37 declare void @f2(float, double) 44 tail call void @f3(double 5.000000e+00, float 9.000000e+00) nounwind 48 declare void @f3(double, float) 70 tail call void @f5(double 1.500000e+01, i32 23, double 1.700000e+01) nounwin [all...] |
/external/stlport/test/unit/ |
valarray_test.cpp | 36 valarray<double> darray; 37 valarray<double> tmp; 89 valarray<long double> ldarray; 90 valarray<long double> tmp; 115 valarray<double> v0(2, 10); 116 valarray<double> v1(v0[slice(0, 1, 5)]); 118 valarray<double> v2(v0[gslice()]); 119 //valarray<double> v3(v0[valarray<bool>()]); 120 valarray<double> v4(v0[valarray<size_t>()]);
|
/external/webkit/Source/WebCore/dom/ |
DeviceOrientation.cpp | 36 PassRefPtr<DeviceOrientation> DeviceOrientation::create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) 49 DeviceOrientation::DeviceOrientation(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) 59 double DeviceOrientation::alpha() const 64 double DeviceOrientation::beta() const 69 double DeviceOrientation::gamma() const
|