/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue182/ |
D | InfinityFloatBeanTest.java | 27 bean.infinityFloat = Float.POSITIVE_INFINITY; in testInfinityFloatBean() 28 bean.infinityFloatObject = Float.POSITIVE_INFINITY; in testInfinityFloatBean() 33 assertEquals(Float.POSITIVE_INFINITY, loadedBean.infinityFloat); in testInfinityFloatBean() 34 assertEquals(Float.POSITIVE_INFINITY, loadedBean.infinityFloatObject); in testInfinityFloatBean()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue183/ |
D | NumberBeanTest.java | 37 number.number = Float.POSITIVE_INFINITY; in testNumberAsFloatInfinity() 42 assertEquals(Float.POSITIVE_INFINITY, loaded.number.floatValue()); in testNumberAsFloatInfinity() 47 number.number = Double.POSITIVE_INFINITY; in testNumberAsDoubleInfinity() 52 assertEquals(Double.POSITIVE_INFINITY, loaded.number.doubleValue()); in testNumberAsDoubleInfinity()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | DoubleMathTest.java | 158 DoubleMath.roundToInt(Double.POSITIVE_INFINITY, mode); in testRoundInfiniteToIntAlwaysFails() 245 DoubleMath.roundToLong(Double.POSITIVE_INFINITY, mode); in testRoundInfiniteToLongAlwaysFails() 307 DoubleMath.roundToBigInteger(Double.POSITIVE_INFINITY, mode); in testRoundInfiniteToBigIntegerAlwaysFails() 404 asList(0.0, -0.0, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) { 468 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.log2(Double.POSITIVE_INFINITY)); 508 Arrays.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) { 523 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.factorial(DoubleMath.MAX_FACTORIAL + 1)); 524 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.factorial(DoubleMath.MAX_FACTORIAL + 20)); 540 Iterables.concat(FINITE_TOLERANCE_CANDIDATES, ImmutableList.of(Double.POSITIVE_INFINITY)); 581 assertTrue(DoubleMath.fuzzyEquals(a, b, Double.POSITIVE_INFINITY)); in testFuzzyEqualsInfiniteTolerance() [all …]
|
D | DoubleUtilsTest.java | 53 assertEquals(Double.POSITIVE_INFINITY, DoubleUtils.ensureNonNegative(Double.POSITIVE_INFINITY)); in testEnsureNonNegative()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | TDistributionImpl.java | 170 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 251 return Double.POSITIVE_INFINITY; in getSupportUpperBound() 297 return Double.POSITIVE_INFINITY; in getNumericalVariance()
|
D | ChiSquaredDistributionImpl.java | 166 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 296 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
|
D | ExponentialDistributionImpl.java | 173 ret = Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 289 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
|
D | CauchyDistributionImpl.java | 145 ret = Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 294 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
|
D | GammaDistributionImpl.java | 126 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 324 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
|
D | NormalDistributionImpl.java | 226 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 333 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
|
D | FDistributionImpl.java | 150 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 304 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
|
D | WeibullDistributionImpl.java | 171 ret = Double.POSITIVE_INFINITY; in inverseCumulativeProbability() 300 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | SafeConstructorTest.java | 27 assertEquals(Double.POSITIVE_INFINITY, yaml.load("+.inf")); in testConstructFloat() 28 assertEquals(Double.POSITIVE_INFINITY, yaml.load(".inf")); in testConstructFloat()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | XYRegionExampleActivity.java | 351 2, Double.POSITIVE_INFINITY, new AxisValueLabelFormatter(Color.WHITE)); in axisLabelSetup() 356 HOME_RUN_DIST, Double.POSITIVE_INFINITY, new AxisValueLabelFormatter(Color.GREEN)); 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() 425 …homeRunRegion = new RectRegion(2, Double.POSITIVE_INFINITY, HOME_RUN_DIST, Double.POSITIVE_INFINIT… in regionSetup()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | FastMath.java | 657 return nextAfter(a, Double.POSITIVE_INFINITY); in nextUp() 665 return nextAfter(a, Float.POSITIVE_INFINITY); in nextUp() 758 hiPrec[0] = Double.POSITIVE_INFINITY; in exp() 761 return Double.POSITIVE_INFINITY; in exp() 1258 if (x == Double.POSITIVE_INFINITY) { in log() 1260 hiPrec[0] = Double.POSITIVE_INFINITY; in log() 1263 return Double.POSITIVE_INFINITY; in log() 1565 return Double.POSITIVE_INFINITY; in pow() 1574 if (x == Double.POSITIVE_INFINITY) { in pow() 1581 return Double.POSITIVE_INFINITY; in pow() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 294 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY); in testInfinity_Bursty() 313 limiter.setRate(Double.POSITIVE_INFINITY); in testInfinity_Bursty() 322 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY); in testInfinity_BustyTimeElapsed() 338 stopwatch, Double.POSITIVE_INFINITY, 10, SECONDS); in testInfinity_WarmUp() 350 limiter.setRate(Double.POSITIVE_INFINITY); in testInfinity_WarmUp() 358 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY, 10, SECONDS); in testInfinity_WarmUpTimeElapsed()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 265 Double.POSITIVE_INFINITY, in TestT5698() 267 Double.POSITIVE_INFINITY, in TestT5698() 268 Double.POSITIVE_INFINITY, in TestT5698() 271 Double.POSITIVE_INFINITY, in TestT5698()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 264 Double.POSITIVE_INFINITY, in TestT5698() 266 Double.POSITIVE_INFINITY, in TestT5698() 267 Double.POSITIVE_INFINITY, in TestT5698() 270 Double.POSITIVE_INFINITY, in TestT5698()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
D | MullerSolver.java | 221 double oldx = Double.POSITIVE_INFINITY; in solve() 275 oldx = Double.POSITIVE_INFINITY; in solve() 360 double oldx = Double.POSITIVE_INFINITY; in solve2() 389 oldx = Double.POSITIVE_INFINITY; in solve2()
|
D | LaguerreSolver.java | 382 Complex oldz = new Complex(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY); in solve() 424 oldz = new Complex(Double.POSITIVE_INFINITY, in solve() 425 Double.POSITIVE_INFINITY); in solve()
|
/external/guava/guava/src/com/google/common/math/ |
D | DoubleUtils.java | 22 import static java.lang.Double.POSITIVE_INFINITY; 99 return x.signum() * POSITIVE_INFINITY; in bigToDouble()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | SmoothRateLimiter.java | 243 if (oldMaxPermits == Double.POSITIVE_INFINITY) { in doSetRate() 293 if (oldMaxPermits == Double.POSITIVE_INFINITY) { in doSetRate()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
D | Vector3D.java | 64 public static final Vector3D POSITIVE_INFINITY = field in Vector3D 65 new Vector3D(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | RectRegion.java | 103 …yLineRegion.getMaxVal().doubleValue() != Double.POSITIVE_INFINITY ? yLineRegion.getMaxVal() : visM… in getRectF() 110 …xLineRegion.getMaxVal().doubleValue() != Double.POSITIVE_INFINITY ? xLineRegion.getMaxVal() : visM… in getRectF()
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/number/ |
D | IsNanTest.java | 31 assertDoesNotMatch(notANumber(), Double.POSITIVE_INFINITY); in doesNotMatchInfinity()
|