Home
last modified time | relevance | path

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

/external/qemu/fpu/
Dsoftfloat.c82 int8 roundingMode; in roundAndPackInt32() local
87 roundingMode = STATUS(float_rounding_mode); in roundAndPackInt32()
88 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
91 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
97 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
100 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
132 int8 roundingMode; in roundAndPackInt64() local
136 roundingMode = STATUS(float_rounding_mode); in roundAndPackInt64()
137 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
140 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
[all …]
/external/icu4c/test/cintltst/
Dcnmdptst.c919 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected) in roundingTest2() argument
927 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode); in roundingTest2()
/external/icu4c/i18n/unicode/
Ddecimfmt.h1175 virtual void setRoundingMode(ERoundingMode roundingMode);
/external/icu4c/i18n/
Ddecimfmt.cpp2295 void DecimalFormat::setRoundingMode(ERoundingMode roundingMode) { in setRoundingMode() argument
2296 fRoundingMode = roundingMode; in setRoundingMode()