Searched refs:Double (Results 1 - 25 of 536) sorted by relevance

1234567891011>>

/external/valgrind/VEX/priv/
H A Dhost_generic_maddf.h41 void h_generic_calc_MAddF64 ( /*OUT*/Double*, Double*, Double*,
42 Double* );
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
H A DDoubleArrayAsListTest.java37 private static List<Double> asList(Double[] values) {
49 @Override protected List<Double> create(Double[] elements) {
55 @Override protected List<Double> create(Double[] elements) {
56 Double[] suffix = {Double.MIN_VALUE, Double.MAX_VALUE};
57 Double[] al
[all...]
H A DDoublesTest.java19 import static java.lang.Double.NaN;
47 private static final double LEAST = Double.NEGATIVE_INFINITY;
48 private static final double GREATEST = Double.POSITIVE_INFINITY;
51 LEAST, -Double.MAX_VALUE, -1.0, -0.5, -0.1, -0.0, 0.0, 0.1, 0.5, 1.0,
52 Double.MAX_VALUE, GREATEST, Double.MIN_NORMAL, -Double.MIN_NORMAL,
53 Double.MIN_VALUE, -Double.MIN_VALUE, Integer.MIN_VALUE,
62 assertEquals(((Double) valu
[all...]
/external/guava/guava-tests/test/com/google/common/primitives/
H A DDoubleArrayAsListTest.java45 private static List<Double> asList(Double[] values) {
55 List<ListTestSuiteBuilder<Double>> builders =
71 for (ListTestSuiteBuilder<Double> builder : builders) {
87 @Override protected List<Double> create(Double[] elements) {
93 @Override protected List<Double> create(Double[] elements) {
94 Double[] suffix = {Double
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DChiSquaredDistribution.java32 public interface ChiSquaredDistribution extends ContinuousDistribution, HasDensity<Double> {
52 double density(Double x);
H A DExponentialDistribution.java32 public interface ExponentialDistribution extends ContinuousDistribution, HasDensity<Double> {
52 double density(Double x);
H A DGammaDistribution.java32 public interface GammaDistribution extends ContinuousDistribution, HasDensity<Double> {
66 double density(Double x);
H A DNormalDistribution.java33 public interface NormalDistribution extends ContinuousDistribution, HasDensity<Double> {
64 double density(Double x);
H A DBetaDistribution.java28 public interface BetaDistribution extends ContinuousDistribution, HasDensity<Double> {
63 double density(Double x) throws MathException;
H A DTDistributionImpl.java153 * Returns <code>Double.NEGATIVE_INFINITY</code> for p=0 and
154 * <code>Double.POSITIVE_INFINITY</code> for p=1.</p>
167 return Double.NEGATIVE_INFINITY;
170 return Double.POSITIVE_INFINITY;
186 return -Double.MAX_VALUE;
200 return Double.MAX_VALUE;
234 * @return lower bound of the support (always Double.NEGATIVE_INFINITY)
238 return Double.NEGATIVE_INFINITY;
247 * @return upper bound of the support (always Double.POSITIVE_INFINITY)
251 return Double
[all...]
/external/v8/test/cctest/
H A Dtest-double.cc44 CHECK_EQ(3512700564088504e-318, Double(ordered).value());
47 CHECK_EQ(5e-324, Double(min_double64).value());
50 CHECK_EQ(1.7976931348623157e308, Double(max_double64).value());
56 DiyFp diy_fp = Double(ordered).AsDiyFp();
62 diy_fp = Double(min_double64).AsDiyFp();
68 diy_fp = Double(max_double64).AsDiyFp();
76 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp();
82 diy_fp = Double(min_double64).AsNormalizedDiyFp();
88 diy_fp = Double(max_double64).AsNormalizedDiyFp();
97 CHECK(Double(min_double6
[all...]
/external/clang/test/SemaCXX/
H A Dmissing-namespace-qualifier-typo-corrections.cpp10 int Double(int x) { return x + x; } function
12 Double(toFoobar()); // expected-error{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}}
26 if (toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'toFoobar'; did you mean 'barstool::toFoobar'?}}
27 if (noFoobar()) Double(7); // expected-error{{use of undeclared identifier 'noFoobar'; did you mean 'barstool::toFoobar'?}}
28 if (moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'moreFoobar'; did you mean 'fizbin::nested::moreFoobar'}}
29 if (lessFoobar()) Double(7); // expected-error{{use of undeclared identifier 'lessFoobar'; did you mean 'fizbin::nested::lessFoobar'?}}
30 if (baztool::toFoobar()) Double(7); // expected-error{{use of undeclared identifier 'baztool'; did you mean 'fizbin::baztool'?}}
31 if (nested::moreFoobar()) Double(7); // expected-error{{use of undeclared identifier 'nested'; did you mean 'fizbin::nested'?}}
32 if (dummy::morebar()) Double(7); // expected-error{{use of undeclared identifier 'dummy'; did you mean 'fizbin::dummy'?}}
33 if (dummy::mrebar()) Double(
[all...]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstDouble.java29 new CstDouble(Double.doubleToLongBits(0.0));
33 new CstDouble(Double.doubleToLongBits(1.0));
63 Double.longBitsToDouble(bits) + '}';
79 return Double.toString(Double.longBitsToDouble(getLongBits()));
88 return Double.longBitsToDouble(getLongBits());
/external/junit/src/org/junit/internal/
H A DInexactComparisonCriteria.java14 if (expected instanceof Double)
15 Assert.assertEquals((Double)expected, (Double)actual, fDelta);
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
H A DRandomKey.java64 public abstract class RandomKey<T> extends AbstractListChromosome<Double> implements PermutationChromosome<T> {
69 private final List<Double> sortedRepresentation;
81 public RandomKey(List<Double> representation) {
84 List<Double> sortedRepr = new ArrayList<Double> (getRepresentation());
98 public RandomKey(Double[] representation) {
119 private static <S> List<S> decodeGeneric(List<S> sequence, List<Double> representation, List<Double> sortedRepr) {
129 List<Double> reprCopy = new ArrayList<Double> (representatio
[all...]
H A DChromosome.java33 private double fitness = Double.MIN_VALUE;
45 if (this.fitness == Double.MIN_VALUE) {
65 return ((Double)this.getFitness()).compareTo(another.getFitness());
/external/guava/guava/src/com/google/common/math/
H A DDoubleUtils.java20 import static java.lang.Double.POSITIVE_INFINITY;
21 import static java.lang.Double.doubleToRawLongBits;
22 import static java.lang.Double.isNaN;
23 import static java.lang.Double.longBitsToDouble;
41 if (Double.isNaN(d)) {
44 return Double.MIN_VALUE;
45 } else if (d == Double.POSITIVE_INFINITY) {
48 long bits = Double.doubleToRawLongBits(d);
50 return Double.longBitsToDouble(bits);
55 // Double#doubleToRawLongBit
[all...]
/external/hamcrest/library/src/org/hamcrest/number/
H A DIsCloseTo.java15 public class IsCloseTo extends TypeSafeMatcher<Double> {
24 public boolean matchesSafely(Double item) {
36 public static Matcher<Double> closeTo(double operand, double error) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/
H A DBaseDoubleEncodedValue.java45 long v = Double.doubleToRawLongBits(getValue());
52 return Double.doubleToRawLongBits(getValue()) ==
53 Double.doubleToRawLongBits(((DoubleEncodedValue)o).getValue());
62 return Double.compare(getValue(), ((DoubleEncodedValue)o).getValue());
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DDoubleSerializer.java40 * Double serializer.
47 public Double readObject(ByteBuffer data, Class c) throws IOException {
52 buffer.putDouble((Double)object);
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DFirstMoment.java38 * Returns <code>Double.NaN</code> if the dataset is empty.</p>
78 m1 = Double.NaN;
79 dev = Double.NaN;
80 nDev = Double.NaN;
114 m1 = Double.NaN;
116 dev = Double.NaN;
117 nDev = Double.NaN;
/external/smali/util/src/test/java/org/jf/util/
H A DNumberUtilsTest.java88 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1.23f)));
89 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1.0f)));
90 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.NaN)));
91 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.NEGATIVE_INFINITY)));
92 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.POSITIVE_INFINITY)));
93 Assert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(1e-30f)));
94 Assert.assertTrue(NumberUtils.isLikelyDouble(Double
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/
H A DMax.java29 * <li>If any of the values equals <code>Double.POSITIVE_INFINITY</code>,
30 * the result is <code>Double.POSITIVE_INFINITY.</code></li>
56 value = Double.NaN;
74 if (d > value || Double.isNaN(value)) {
85 value = Double.NaN;
106 * the input array, or <code>Double.NaN</code> if the designated subarray
115 * <li>If any of the values equals <code>Double.POSITIVE_INFINITY</code>,
116 * the result is <code>Double.POSITIVE_INFINITY.</code></li>
122 * @return the maximum of the values or Double.NaN if length = 0
128 double max = Double
[all...]
H A DMin.java29 * <li>If any of the values equals <code>Double.NEGATIVE_INFINITY</code>,
30 * the result is <code>Double.NEGATIVE_INFINITY.</code></li>
56 value = Double.NaN;
74 if (d < value || Double.isNaN(value)) {
85 value = Double.NaN;
106 * the input array, or <code>Double.NaN</code> if the designated subarray
115 * <li>If any of the values equals <code>Double.NEGATIVE_INFINITY</code>,
116 * the result is <code>Double.NEGATIVE_INFINITY.</code></li>
122 * @return the minimum of the values or Double.NaN if length = 0
128 double min = Double
[all...]
/external/vogar/test/vogar/target/
H A DAssertTest.java39 assertEquals(Double.NaN, Double.NaN, 0.0);
43 assertEquals(5, Double.NaN, 0.0);
65 assertEquals(0.0, 0.0, Double.NaN);
69 assertEquals(0.0, 6.0, Double.NaN);

Completed in 916 milliseconds

1234567891011>>