Home
last modified time | relevance | path

Searched refs:nextAfter (Results 1 – 8 of 8) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifferenceElementCalculator.java188 CsmElement nextAfter = after.elements.get(afterIndex); in calculateImpl() local
190 if ((nextOriginal instanceof CsmMix) && (nextAfter instanceof CsmMix)) { in calculateImpl()
191 … if (((CsmMix) nextAfter).getElements().equals(((CsmMix) nextOriginal).getElements())) { in calculateImpl()
193 … ((CsmMix) nextAfter).getElements().forEach(el -> elements.add(new Kept(el))); in calculateImpl()
195 elements.add(new Reshuffled((CsmMix)nextOriginal, (CsmMix)nextAfter)); in calculateImpl()
199 } else if (matching(nextOriginal, nextAfter)) { in calculateImpl()
203 } else if (replacement(nextOriginal, nextAfter)) { in calculateImpl()
205 elements.add(new Added(nextAfter)); in calculateImpl()
216 elements.add(new Added(nextAfter)); in calculateImpl()
/external/crcalc/tests/src/com/hp/creals/
DConversionTest.java51 checkDoubleConversion(Math.nextAfter(x, Double.NEGATIVE_INFINITY)); in checkNearbyConversions()
52 checkDoubleConversion(Math.nextAfter(x, Double.POSITIVE_INFINITY)); in checkNearbyConversions()
55 checkFloatConversion(Math.nextAfter(f, Double.NEGATIVE_INFINITY)); in checkNearbyConversions()
56 checkFloatConversion(Math.nextAfter(f, Double.POSITIVE_INFINITY)); in checkNearbyConversions()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DMathUtils.java1322 public static double nextAfter(double d, double direction) {
1543 unscaled = FastMath.floor(nextAfter(unscaled, Double.NEGATIVE_INFINITY));
1545 unscaled = FastMath.ceil(nextAfter(unscaled, Double.POSITIVE_INFINITY));
1549 unscaled = FastMath.floor(nextAfter(unscaled, Double.NEGATIVE_INFINITY));
1553 unscaled = FastMath.ceil(nextAfter(unscaled, Double.POSITIVE_INFINITY));
1555 unscaled = FastMath.floor(nextAfter(unscaled, Double.NEGATIVE_INFINITY));
1559 unscaled = nextAfter(unscaled, Double.NEGATIVE_INFINITY);
1586 unscaled = nextAfter(unscaled, Double.POSITIVE_INFINITY);
1601 unscaled = FastMath.ceil(nextAfter(unscaled, Double.POSITIVE_INFINITY));
DFastMath.java657 return nextAfter(a, Double.POSITIVE_INFINITY); in nextUp()
665 return nextAfter(a, Float.POSITIVE_INFINITY); in nextUp()
3606 public static double nextAfter(double d, double direction) { in nextAfter() method in FastMath
3662 public static float nextAfter(final float f, final double direction) { in nextAfter() method in FastMath
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java293 public Dfp nextAfter(Dfp x) { in nextAfter() method in DfpDec
DDfp.java2230 public Dfp nextAfter(final Dfp x) { in nextAfter() method in Dfp
/external/guava/android/guava-tests/test/com/google/common/math/
DDoubleMathTest.java508 trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java508 trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);