Home
last modified time | relevance | path

Searched refs:NEGATIVE_INFINITY (Results 1 – 25 of 104) sorted by relevance

12345

/external/crcalc/tests/src/com/hp/creals/
DConversionTest.java51 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/
DNumberBeanTest.java57 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/
DMonsterExtra.java21 …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/
DDoubleMathTest.java162 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);
DDoubleUtilsTest.java54 assertEquals(0.0, DoubleUtils.ensureNonNegative(Double.NEGATIVE_INFINITY)); in testEnsureNonNegative()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DCauchyDistributionImpl.java143 ret = Double.NEGATIVE_INFINITY; in inverseCumulativeProbability()
282 return Double.NEGATIVE_INFINITY; in getSupportLowerBound()
DTDistributionImpl.java167 return Double.NEGATIVE_INFINITY; in inverseCumulativeProbability()
238 return Double.NEGATIVE_INFINITY; in getSupportLowerBound()
DNormalDistributionImpl.java223 return Double.NEGATIVE_INFINITY; in inverseCumulativeProbability()
320 return Double.NEGATIVE_INFINITY; in getSupportLowerBound()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_constants.mojom37 const double kDoubleNegativeInfinity = double.NEGATIVE_INFINITY;
42 const float kFloatNegativeInfinity = float.NEGATIVE_INFINITY;
Dsample_service.mojom80 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/
DVector3D.java68 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/
DXYRegionExampleActivity.java349 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/
DRectRegion.java102 …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/
DFastMath.java1242 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/
DExhaustiveNumberTest.java157 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/
DSetValuesTest.java83 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/
DExhaustiveNumberTest.java154 Double.NEGATIVE_INFINITY, in testConvertToAccurateDouble()
155 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
/external/smali/util/src/test/java/org/jf/util/
DNumberUtilsTest.java43 … 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/
DSafeConstructorTest.java29 assertEquals(Double.NEGATIVE_INFINITY, yaml.load("-.inf")); in testConstructFloat()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterMobileNetTest.java55 .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/
DKMeansPlusPlusClusterer.java208 double maxVariance = Double.NEGATIVE_INFINITY; in getPointFromLargestVarianceCluster()
283 double maxDistance = Double.NEGATIVE_INFINITY; in getFarthestPoint()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DFloatTagTest.java33 assertEquals(Double.NEGATIVE_INFINITY, in testFloat()
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java317 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/
DNumberFormatRegressionTest.java269 Double.NEGATIVE_INFINITY, in TestT5698()
276 Double.NEGATIVE_INFINITY, in TestT5698()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRegressionTest.java272 Double.NEGATIVE_INFINITY, in TestT5698()
279 Double.NEGATIVE_INFINITY, in TestT5698()

12345