Home
last modified time | relevance | path

Searched refs:roundDown (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java872 boolean roundDown = RoundingUtils.getRoundingDirection(isEven, in roundToMagnitude()
887 if (trailingDigit < 5 && roundDown) { in roundToMagnitude()
891 } else if (trailingDigit >= 5 && !roundDown) { in roundToMagnitude()
903 if (!roundDown) { in roundToMagnitude()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java874 boolean roundDown = RoundingUtils.getRoundingDirection(isEven, in roundToMagnitude()
889 if (trailingDigit < 5 && roundDown) { in roundToMagnitude()
893 } else if (trailingDigit >= 5 && !roundDown) { in roundToMagnitude()
905 if (!roundDown) { in roundToMagnitude()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp786 bool roundDown = roundingutils::getRoundingDirection(isEven, in roundToMagnitude() local
804 if (trailingDigit < 5 && roundDown) { in roundToMagnitude()
808 } else if (trailingDigit >= 5 && !roundDown) { in roundToMagnitude()
820 if (!roundDown) { in roundToMagnitude()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp370 …const glw::GLint roundDown = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<glw::GLint>(bbox… in verifyState() local
376 if (roundDown == roundUp) in verifyState()
377 builder << roundDown; in verifyState()
379 builder << "{" << roundDown << ", " << roundUp << "}"; in verifyState()
419 …const glw::GLint64 roundDown = StateQueryUtil::roundGLfloatToNearestIntegerHalfDown<glw::GLint64>(… in verifyState() local
425 if (roundDown == roundUp) in verifyState()
426 builder << roundDown; in verifyState()
428 builder << "{" << roundDown << ", " << roundUp << "}"; in verifyState()