Home
last modified time | relevance | path

Searched refs:POSITIVE_INFINITY (Results 1 – 25 of 119) sorted by relevance

12345

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue182/
DInfinityFloatBeanTest.java27 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/crcalc/tests/src/com/hp/creals/
DConversionTest.java52 checkDoubleConversion(Math.nextAfter(x, Double.POSITIVE_INFINITY)); in checkNearbyConversions()
56 checkFloatConversion(Math.nextAfter(f, Double.POSITIVE_INFINITY)); in checkNearbyConversions()
64 check(HUGE.doubleValue() == Double.POSITIVE_INFINITY, in testConversions()
68 check(HUGE.floatValue() == Float.POSITIVE_INFINITY, in testConversions()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue183/
DNumberBeanTest.java37 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/
DDoubleMathTest.java158 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 …]
DDoubleUtilsTest.java53 assertEquals(Double.POSITIVE_INFINITY, DoubleUtils.ensureNonNegative(Double.POSITIVE_INFINITY)); in testEnsureNonNegative()
/external/flatbuffers/tests/MyGame/
DMonsterExtra.java19 …fPinf() { int o = __offset(6); return o != 0 ? bb.getFloat(o + bb_pos) : Float.POSITIVE_INFINITY; } in testfPinf()
25 …nf() { int o = __offset(12); return o != 0 ? bb.getDouble(o + bb_pos) : Double.POSITIVE_INFINITY; } in testdPinf()
49 …ufferBuilder builder, float testfPinf) { builder.addFloat(1, testfPinf, Float.POSITIVE_INFINITY); } in addTestfPinf()
52 …erBuilder builder, double testdPinf) { builder.addDouble(4, testdPinf, Double.POSITIVE_INFINITY); } in addTestdPinf()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DTDistributionImpl.java170 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
251 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
297 return Double.POSITIVE_INFINITY; in getNumericalVariance()
DChiSquaredDistributionImpl.java166 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
296 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
DExponentialDistributionImpl.java173 ret = Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
289 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
DCauchyDistributionImpl.java145 ret = Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
294 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
DGammaDistributionImpl.java126 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
324 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
DNormalDistributionImpl.java226 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
333 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
DWeibullDistributionImpl.java171 ret = Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
300 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
DFDistributionImpl.java150 return Double.POSITIVE_INFINITY; in inverseCumulativeProbability()
304 return Double.POSITIVE_INFINITY; in getSupportUpperBound()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java657 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/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DXYRegionExampleActivity.java351 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/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DSafeConstructorTest.java27 assertEquals(Double.POSITIVE_INFINITY, yaml.load("+.inf")); in testConstructFloat()
28 assertEquals(Double.POSITIVE_INFINITY, yaml.load(".inf")); in testConstructFloat()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DRateLimiterTest.java294 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/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DMullerSolver.java221 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()
DLaguerreSolver.java382 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRegressionTest.java268 Double.POSITIVE_INFINITY, in TestT5698()
270 Double.POSITIVE_INFINITY, in TestT5698()
271 Double.POSITIVE_INFINITY, in TestT5698()
274 Double.POSITIVE_INFINITY, in TestT5698()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRegressionTest.java271 Double.POSITIVE_INFINITY, in TestT5698()
273 Double.POSITIVE_INFINITY, in TestT5698()
274 Double.POSITIVE_INFINITY, in TestT5698()
277 Double.POSITIVE_INFINITY, in TestT5698()
/external/guava/guava/src/com/google/common/math/
DDoubleUtils.java22 import static java.lang.Double.POSITIVE_INFINITY;
99 return x.signum() * POSITIVE_INFINITY; in bigToDouble()
/external/guava/guava/src/com/google/common/util/concurrent/
DSmoothRateLimiter.java243 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/
DVector3D.java64 public static final Vector3D POSITIVE_INFINITY = field in Vector3D
65 new Vector3D(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);

12345