Searched refs:roundingMode (Results 1 – 4 of 4) sorted by relevance
82 int8 roundingMode; in roundAndPackInt32() local87 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() local136 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 …]
919 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected) in roundingTest2() argument927 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode); in roundingTest2()
1175 virtual void setRoundingMode(ERoundingMode roundingMode);
2295 void DecimalFormat::setRoundingMode(ERoundingMode roundingMode) { in setRoundingMode() argument2296 fRoundingMode = roundingMode; in setRoundingMode()