Home
last modified time | relevance | path

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

1234

/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/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/libmojo/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/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/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/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/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/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DSafeConstructorTest.java29 assertEquals(Double.NEGATIVE_INFINITY, yaml.load("-.inf")); in testConstructFloat()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSetValuesTest.java82 testField(classID, fieldInfo, Value.createFloat(Float.NEGATIVE_INFINITY)); in testField()
90 testField(classID, fieldInfo, Value.createDouble(Double.NEGATIVE_INFINITY)); in testField()
/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/types/
DFloatTagTest.java33 assertEquals(Double.NEGATIVE_INFINITY, in testFloat()
/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRegressionTest.java266 Double.NEGATIVE_INFINITY, in TestT5698()
273 Double.NEGATIVE_INFINITY, in TestT5698()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRegressionTest.java265 Double.NEGATIVE_INFINITY, in TestT5698()
272 Double.NEGATIVE_INFINITY, in TestT5698()
/external/caliper/examples/src/main/java/examples/
DDoubleToStringBenchmark.java70 NegativeInfinity(Double.NEGATIVE_INFINITY),
DDoubleToStringBenchmark2.java31 NegativeInfinity(Double.NEGATIVE_INFINITY),
/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/guava/guava/src/com/google/common/primitives/
DFloats.java23 import static java.lang.Float.NEGATIVE_INFINITY;
103 return NEGATIVE_INFINITY < value & value < POSITIVE_INFINITY; in isFinite()
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DFloats.java23 import static java.lang.Float.NEGATIVE_INFINITY;
99 return NEGATIVE_INFINITY < value & value < POSITIVE_INFINITY; in isFinite()
DDoubles.java23 import static java.lang.Double.NEGATIVE_INFINITY;
102 return NEGATIVE_INFINITY < value & value < POSITIVE_INFINITY; in isFinite()

1234