Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DAPFloat.h150 enum roundingMode { enum
268 opStatus add(const APFloat &, roundingMode);
269 opStatus subtract(const APFloat &, roundingMode);
270 opStatus multiply(const APFloat &, roundingMode);
271 opStatus divide(const APFloat &, roundingMode);
275 opStatus mod(const APFloat &, roundingMode);
276 opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode);
284 opStatus convert(const fltSemantics &, roundingMode, bool *);
286 roundingMode, bool *) const;
287 opStatus convertToInteger(APSInt&, roundingMode, bool *) const;
[all …]
/external/qemu/fpu/
Dsoftfloat.c114 int8 roundingMode; in roundAndPackInt32() local
119 roundingMode = STATUS(float_rounding_mode); in roundAndPackInt32()
120 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
123 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
129 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
132 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
164 int8 roundingMode; in roundAndPackInt64() local
168 roundingMode = STATUS(float_rounding_mode); in roundAndPackInt64()
169 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
172 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp1114 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow()
1140 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero()
1179 APFloat::normalize(roundingMode rounding_mode, in normalize()
1554 APFloat::addOrSubtract(const APFloat &rhs, roundingMode rounding_mode, in addOrSubtract()
1587 APFloat::add(const APFloat &rhs, roundingMode rounding_mode) in add()
1594 APFloat::subtract(const APFloat &rhs, roundingMode rounding_mode) in subtract()
1601 APFloat::multiply(const APFloat &rhs, roundingMode rounding_mode) in multiply()
1621 APFloat::divide(const APFloat &rhs, roundingMode rounding_mode) in divide()
1679 APFloat::mod(const APFloat &rhs, roundingMode rounding_mode) in mod()
1722 roundingMode rounding_mode) in fusedMultiplyAdd()
[all …]
/external/icu4c/test/cintltst/
Dcnmdptst.c1035 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected) in roundingTest2() argument
1043 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode); in roundingTest2()
/external/icu4c/i18n/unicode/
Ddecimfmt.h1318 virtual void setRoundingMode(ERoundingMode roundingMode);
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp1175 FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& rect, RoundingMode roundingMode) in roundToDevicePixels() argument
1203 if (roundingMode == RoundAllSides) { in roundToDevicePixels()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1155 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero in ConstantFoldConvertToInt()
/external/icu4c/i18n/
Ddecimfmt.cpp2705 void DecimalFormat::setRoundingMode(ERoundingMode roundingMode) { in setRoundingMode() argument
2706 fRoundingMode = roundingMode; in setRoundingMode()