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);
277 opStatus roundToIntegral(roundingMode);
285 opStatus convert(const fltSemantics &, roundingMode, bool *);
287 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.cpp1119 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow()
1145 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero()
1182 APFloat::normalize(roundingMode rounding_mode, in normalize()
1559 APFloat::addOrSubtract(const APFloat &rhs, roundingMode rounding_mode, in addOrSubtract()
1592 APFloat::add(const APFloat &rhs, roundingMode rounding_mode) in add()
1599 APFloat::subtract(const APFloat &rhs, roundingMode rounding_mode) in subtract()
1606 APFloat::multiply(const APFloat &rhs, roundingMode rounding_mode) in multiply()
1626 APFloat::divide(const APFloat &rhs, roundingMode rounding_mode) in divide()
1684 APFloat::mod(const APFloat &rhs, roundingMode rounding_mode) in mod()
1727 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.h1324 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.cpp1204 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero in ConstantFoldConvertToInt()
/external/icu4c/i18n/
Ddecimfmt.cpp2944 void DecimalFormat::setRoundingMode(ERoundingMode roundingMode) { in setRoundingMode() argument
2945 fRoundingMode = roundingMode; in setRoundingMode()