/external/guava/android/guava/src/com/google/common/math/ |
D | BigDecimalMath.java | 52 public static double roundToDouble(BigDecimal x, RoundingMode mode) { in roundToDouble() method in BigDecimalMath 53 return BigDecimalToDoubleRounder.INSTANCE.roundToDouble(x, mode); in roundToDouble()
|
D | ToDoubleRounder.java | 45 final double roundToDouble(X x, RoundingMode mode) { in roundToDouble() method in ToDoubleRounder
|
D | BigIntegerMath.java | 333 public static double roundToDouble(BigInteger x, RoundingMode mode) { in roundToDouble() method in BigIntegerMath 334 return BigIntegerToDoubleRounder.INSTANCE.roundToDouble(x, mode); in roundToDouble()
|
D | LongMath.java | 1246 public static double roundToDouble(long x, RoundingMode mode) { in roundToDouble() method
|
/external/guava/guava/src/com/google/common/math/ |
D | BigDecimalMath.java | 52 public static double roundToDouble(BigDecimal x, RoundingMode mode) { in roundToDouble() method in BigDecimalMath 53 return BigDecimalToDoubleRounder.INSTANCE.roundToDouble(x, mode); in roundToDouble()
|
D | ToDoubleRounder.java | 45 final double roundToDouble(X x, RoundingMode mode) { in roundToDouble() method in ToDoubleRounder
|
D | BigIntegerMath.java | 333 public static double roundToDouble(BigInteger x, RoundingMode mode) { in roundToDouble() method in BigIntegerMath 334 return BigIntegerToDoubleRounder.INSTANCE.roundToDouble(x, mode); in roundToDouble()
|
D | LongMath.java | 1246 public static double roundToDouble(long x, RoundingMode mode) { in roundToDouble() method
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
D | BigIntegerMathRoundingBenchmark.java | 93 long roundToDouble(int reps) { in roundToDouble() method in BigIntegerMathRoundingBenchmark 97 tmp += Double.doubleToRawLongBits(BigIntegerMath.roundToDouble(nonzero1[j], mode)); in roundToDouble()
|
/external/guava/android/guava-tests/benchmark/com/google/common/math/ |
D | BigIntegerMathRoundingBenchmark.java | 93 long roundToDouble(int reps) { in roundToDouble() method in BigIntegerMathRoundingBenchmark 97 tmp += Double.doubleToRawLongBits(BigIntegerMath.roundToDouble(nonzero1[j], mode)); in roundToDouble()
|
/external/guava/android/guava-tests/test/com/google/common/math/ |
D | LongMathTest.java | 994 assertThat(LongMath.roundToDouble(candidate, roundingMode)) in testRoundToDoubleAgainstBigInteger() 995 .isEqualTo(BigIntegerMath.roundToDouble(BigInteger.valueOf(candidate), roundingMode)); in testRoundToDoubleAgainstBigInteger() 1005 expectedDouble = BigIntegerMath.roundToDouble(BigInteger.valueOf(candidate), UNNECESSARY); in testRoundToDoubleAgainstBigIntegerUnnecessary() 1011 assertThat(LongMath.roundToDouble(candidate, UNNECESSARY)).isEqualTo(expectedDouble); in testRoundToDoubleAgainstBigIntegerUnnecessary() 1014 LongMath.roundToDouble(candidate, UNNECESSARY); in testRoundToDoubleAgainstBigIntegerUnnecessary()
|
D | BigDecimalMathTest.java | 71 .that(BigDecimalMath.roundToDouble(input, mode)) in test() 80 BigDecimalMath.roundToDouble(input, UNNECESSARY); in test()
|
D | BigIntegerMathTest.java | 583 .that(BigIntegerMath.roundToDouble(input, mode)) 592 BigIntegerMath.roundToDouble(input, UNNECESSARY);
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1464 double roundToDouble(bool isSigned) const; 1467 double roundToDouble() const { return roundToDouble(false); } in roundToDouble() function 1470 double signedRoundToDouble() const { return roundToDouble(true); } in signedRoundToDouble() 1821 return APIVal.roundToDouble(); in RoundAPIntToDouble()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | LongMathTest.java | 994 assertThat(LongMath.roundToDouble(candidate, roundingMode)) in testRoundToDoubleAgainstBigInteger() 995 .isEqualTo(BigIntegerMath.roundToDouble(BigInteger.valueOf(candidate), roundingMode)); in testRoundToDoubleAgainstBigInteger() 1005 expectedDouble = BigIntegerMath.roundToDouble(BigInteger.valueOf(candidate), UNNECESSARY); in testRoundToDoubleAgainstBigIntegerUnnecessary() 1011 assertThat(LongMath.roundToDouble(candidate, UNNECESSARY)).isEqualTo(expectedDouble); in testRoundToDoubleAgainstBigIntegerUnnecessary() 1014 LongMath.roundToDouble(candidate, UNNECESSARY); in testRoundToDoubleAgainstBigIntegerUnnecessary()
|
D | BigDecimalMathTest.java | 71 .that(BigDecimalMath.roundToDouble(input, mode)) in test() 80 BigDecimalMath.roundToDouble(input, UNNECESSARY); in test()
|
D | BigIntegerMathTest.java | 583 .that(BigIntegerMath.roundToDouble(input, mode)) 592 BigIntegerMath.roundToDouble(input, UNNECESSARY);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 1440 double roundToDouble(bool isSigned) const; 1443 double roundToDouble() const { return roundToDouble(false); } in roundToDouble() function 1446 double signedRoundToDouble() const { return roundToDouble(true); } in signedRoundToDouble() 1848 return APIVal.roundToDouble(); in RoundAPIntToDouble()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APInt.h | 1769 double roundToDouble(bool isSigned) const; 1772 double roundToDouble() const { return roundToDouble(false); } 1775 double signedRoundToDouble() const { return roundToDouble(true); } 2204 return APIVal.roundToDouble();
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 1758 double roundToDouble(bool isSigned) const; 1761 double roundToDouble() const { return roundToDouble(false); } in roundToDouble() function 1764 double signedRoundToDouble() const { return roundToDouble(true); } in signedRoundToDouble() 2193 return APIVal.roundToDouble(); in RoundAPIntToDouble()
|
/external/llvm-project/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 683 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue() 685 GV.DoubleVal = GV.IntVal.roundToDouble(); in getConstantValue()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 687 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue() 689 GV.DoubleVal = GV.IntVal.roundToDouble(); in getConstantValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 689 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue() 691 GV.DoubleVal = GV.IntVal.roundToDouble(); in getConstantValue()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 855 double APInt::roundToDouble(bool isSigned) const { in roundToDouble() function in APInt
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 877 double APInt::roundToDouble(bool isSigned) const { in roundToDouble() function in APInt
|