Home
last modified time | relevance | path

Searched refs:nextUp (Results 1 – 20 of 20) sorted by relevance

/external/guava/android/guava/src/com/google/common/math/
DToDoubleRounder.java81 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
88 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
92 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
110 roundCeilingAsDouble = Math.nextUp(roundArbitrarily); in roundToDouble()
DLongMath.java1277 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
1284 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
1288 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
1306 roundCeilingAsDouble = Math.nextUp(roundArbitrarily); in roundToDouble()
DDoubleUtils.java40 return -Math.nextUp(-d); in nextDown()
/external/guava/guava/src/com/google/common/math/
DToDoubleRounder.java81 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
88 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
92 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
110 roundCeilingAsDouble = Math.nextUp(roundArbitrarily); in roundToDouble()
DLongMath.java1277 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
1284 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
1288 return (cmpXToRoundArbitrarily <= 0) ? roundArbitrarily : Math.nextUp(roundArbitrarily); in roundToDouble()
1306 roundCeilingAsDouble = Math.nextUp(roundArbitrarily); in roundToDouble()
DDoubleUtils.java40 return -Math.nextUp(-d); in nextDown()
/external/guava/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java138 .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP) in testRoundToDouble_maxPreciselyRepresentablePlusOne()
149 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP) in testRoundToDouble_twoToThe54PlusOne()
160 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP) in testRoundToDouble_twoToThe54PlusOneHalf()
171 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN) in testRoundToDouble_twoToThe54PlusThree()
DDoubleMathTest.java504 trueLog2 = StrictMath.nextUp(trueLog2);
511 > StrictMath.abs(StrictMath.pow(2.0, StrictMath.nextUp(trueLog2)) - d)) {
512 trueLog2 = StrictMath.nextUp(trueLog2);
DBigIntegerMathTest.java625 .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
637 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP)
649 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN)
/external/guava/android/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java138 .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP) in testRoundToDouble_maxPreciselyRepresentablePlusOne()
149 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP) in testRoundToDouble_twoToThe54PlusOne()
160 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP) in testRoundToDouble_twoToThe54PlusOneHalf()
171 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN) in testRoundToDouble_twoToThe54PlusThree()
DDoubleMathTest.java504 trueLog2 = StrictMath.nextUp(trueLog2);
511 > StrictMath.abs(StrictMath.pow(2.0, StrictMath.nextUp(trueLog2)) - d)) {
512 trueLog2 = StrictMath.nextUp(trueLog2);
DBigIntegerMathTest.java625 .setExpectation(Math.nextUp(twoToThe53), CEILING, UP, HALF_UP)
637 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP)
649 .setExpectation(Math.nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN)
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DOpenLoopClient.java211 private static final double DELAY_EPSILON = Math.nextUp(0d);
/external/llvm/lib/Target/Hexagon/
DRDFGraph.h641 Iterator &up() { Pos = DS.nextUp(Pos); return *this; } in up()
677 unsigned nextUp(unsigned P) const;
DRDFGraph.cpp795 unsigned DataFlowGraph::DefStack::nextUp(unsigned P) const { in nextUp() function in DataFlowGraph::DefStack
/external/llvm-project/llvm/include/llvm/CodeGen/
DRDFGraph.h679 Iterator &up() { Pos = DS.nextUp(Pos); return *this; } in up()
725 unsigned nextUp(unsigned P) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFGraph.h679 Iterator &up() { Pos = DS.nextUp(Pos); return *this; } in up()
725 unsigned nextUp(unsigned P) const;
DRDFGraph.cpp717 unsigned DataFlowGraph::DefStack::nextUp(unsigned P) const { in nextUp() function in DataFlowGraph::DefStack
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java656 public static double nextUp(final double a) { in nextUp() method in FastMath
664 public static float nextUp(final float a) { in nextUp() method in FastMath
/external/llvm-project/llvm/lib/CodeGen/
DRDFGraph.cpp717 unsigned DataFlowGraph::DefStack::nextUp(unsigned P) const { in nextUp() function in DataFlowGraph::DefStack