/external/crcalc/tests/src/com/hp/creals/ |
D | ConversionTest.java | 51 checkDoubleConversion(Math.nextAfter(x, Double.NEGATIVE_INFINITY)); in checkNearbyConversions() 55 checkFloatConversion(Math.nextAfter(f, Double.NEGATIVE_INFINITY)); in checkNearbyConversions() 66 check(HUGE.negate().doubleValue() == Double.NEGATIVE_INFINITY, in testConversions() 70 check(HUGE.negate().floatValue() == Float.NEGATIVE_INFINITY, in testConversions() 75 for (double x = -1.0d; x != Double.NEGATIVE_INFINITY; x *= 2.0d) { in testConversions()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue183/ |
D | NumberBeanTest.java | 57 number.number = Float.NEGATIVE_INFINITY; in testNumberAsNegativeFloatInfinity() 62 assertEquals(Float.NEGATIVE_INFINITY, loaded.number.floatValue()); in testNumberAsNegativeFloatInfinity() 67 number.number = Double.NEGATIVE_INFINITY; in testNumberAsNegativeDoubleInfinity() 72 assertEquals(Double.NEGATIVE_INFINITY, loaded.number.doubleValue()); in testNumberAsNegativeDoubleInfinity()
|
/external/flatbuffers/tests/MyGame/ |
D | MonsterExtra.java | 21 …fNinf() { int o = __offset(8); return o != 0 ? bb.getFloat(o + bb_pos) : Float.NEGATIVE_INFINITY; } in testfNinf() 27 …nf() { int o = __offset(14); return o != 0 ? bb.getDouble(o + bb_pos) : Double.NEGATIVE_INFINITY; } in testdNinf() 50 …ufferBuilder builder, float testfNinf) { builder.addFloat(2, testfNinf, Float.NEGATIVE_INFINITY); } in addTestfNinf() 53 …erBuilder builder, double testdNinf) { builder.addDouble(5, testdNinf, Double.NEGATIVE_INFINITY); } in addTestdNinf()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | DoubleMathTest.java | 162 DoubleMath.roundToInt(Double.NEGATIVE_INFINITY, mode); in testRoundInfiniteToIntAlwaysFails() 249 DoubleMath.roundToLong(Double.NEGATIVE_INFINITY, mode); in testRoundInfiniteToLongAlwaysFails() 311 DoubleMath.roundToBigInteger(Double.NEGATIVE_INFINITY, mode); in testRoundInfiniteToBigIntegerAlwaysFails() 404 asList(0.0, -0.0, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) { 463 assertEquals(Double.NEGATIVE_INFINITY, DoubleMath.log2(0.0)); 464 assertEquals(Double.NEGATIVE_INFINITY, DoubleMath.log2(-0.0)); 469 assertTrue(Double.isNaN(DoubleMath.log2(Double.NEGATIVE_INFINITY))); 482 trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY); 508 Arrays.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) { 544 Double.NEGATIVE_INFINITY, -0.001);
|
D | DoubleUtilsTest.java | 54 assertEquals(0.0, DoubleUtils.ensureNonNegative(Double.NEGATIVE_INFINITY)); in testEnsureNonNegative()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | CauchyDistributionImpl.java | 143 ret = Double.NEGATIVE_INFINITY; in inverseCumulativeProbability() 282 return Double.NEGATIVE_INFINITY; in getSupportLowerBound()
|
D | TDistributionImpl.java | 167 return Double.NEGATIVE_INFINITY; in inverseCumulativeProbability() 238 return Double.NEGATIVE_INFINITY; in getSupportLowerBound()
|
D | NormalDistributionImpl.java | 223 return Double.NEGATIVE_INFINITY; in inverseCumulativeProbability() 320 return Double.NEGATIVE_INFINITY; in getSupportLowerBound()
|
/external/libchrome/mojo/public/interfaces/bindings/tests/ |
D | test_constants.mojom | 37 const double kDoubleNegativeInfinity = double.NEGATIVE_INFINITY; 42 const float kFloatNegativeInfinity = float.NEGATIVE_INFINITY;
|
D | sample_service.mojom | 80 double a27@27 = double.NEGATIVE_INFINITY; 83 float a30@30 = float.NEGATIVE_INFINITY;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
D | Vector3D.java | 68 public static final Vector3D NEGATIVE_INFINITY = field in Vector3D 69 new Vector3D(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY);
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | XYRegionExampleActivity.java | 349 Double.NEGATIVE_INFINITY, 2, new AxisValueLabelFormatter(Color.GRAY)); in axisLabelSetup() 354 Double.NEGATIVE_INFINITY, HOME_RUN_DIST, new AxisValueLabelFormatter(Color.RED)); in axisLabelSetup() 405 …shortRegion = new RectRegion(2, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, HOME_RUN_DIST,… in regionSetup() 416 … warmupRegion = new RectRegion(0, 2, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, "Warmup"); in regionSetup()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | RectRegion.java | 102 …xLineRegion.getMinVal().doubleValue() != Double.NEGATIVE_INFINITY ? xLineRegion.getMinVal() : visM… in getRectF() 111 …yLineRegion.getMinVal().doubleValue() != Double.NEGATIVE_INFINITY ? yLineRegion.getMinVal() : visM… in getRectF()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | FastMath.java | 1242 return Double.NEGATIVE_INFINITY; in log() 1274 hiPrec[0] = Double.NEGATIVE_INFINITY; in log() 1277 return Double.NEGATIVE_INFINITY; in log() 1552 return Double.NEGATIVE_INFINITY; in pow() 1596 if (x == Double.NEGATIVE_INFINITY) { in pow() 1613 return Double.NEGATIVE_INFINITY; in pow() 1620 if (y == Double.NEGATIVE_INFINITY) { in pow() 2978 if (x == Double.NEGATIVE_INFINITY) { in atan2() 2985 if (y == Double.NEGATIVE_INFINITY) { in atan2() 2990 if (x == Double.NEGATIVE_INFINITY) { in atan2() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | ExhaustiveNumberTest.java | 157 Double.NEGATIVE_INFINITY, in testConvertToAccurateDouble() 158 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
D | SetValuesTest.java | 83 testField(classID, fieldInfo, Value.createFloat(Float.NEGATIVE_INFINITY)); in testField() 91 testField(classID, fieldInfo, Value.createDouble(Double.NEGATIVE_INFINITY)); in testField()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | ExhaustiveNumberTest.java | 154 Double.NEGATIVE_INFINITY, in testConvertToAccurateDouble() 155 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
|
/external/smali/util/src/test/java/org/jf/util/ |
D | NumberUtilsTest.java | 43 … Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NEGATIVE_INFINITY))); in isLikelyFloatTest() 91 …ssert.assertTrue(NumberUtils.isLikelyDouble(Double.doubleToRawLongBits(Double.NEGATIVE_INFINITY))); in isLikelyDoubleTest()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | SafeConstructorTest.java | 29 assertEquals(Double.NEGATIVE_INFINITY, yaml.load("-.inf")); in testConstructFloat()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | InterpreterMobileNetTest.java | 55 .containsNoneOf(new float[] {Float.NaN, Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY}); in testMobilenetRun()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
D | KMeansPlusPlusClusterer.java | 208 double maxVariance = Double.NEGATIVE_INFINITY; in getPointFromLargestVarianceCluster() 283 double maxDistance = Double.NEGATIVE_INFINITY; in getFarthestPoint()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | FloatTagTest.java | 33 assertEquals(Double.NEGATIVE_INFINITY, in testFloat()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | LiteralTools.java | 317 return Float.NEGATIVE_INFINITY; in parseFloat() 335 return Double.NEGATIVE_INFINITY; in parseDouble()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 269 Double.NEGATIVE_INFINITY, in TestT5698() 276 Double.NEGATIVE_INFINITY, in TestT5698()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 272 Double.NEGATIVE_INFINITY, in TestT5698() 279 Double.NEGATIVE_INFINITY, in TestT5698()
|