Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DAPFloat.h155 enum roundingMode { enum
294 opStatus add(const APFloat &, roundingMode);
295 opStatus subtract(const APFloat &, roundingMode);
296 opStatus multiply(const APFloat &, roundingMode);
297 opStatus divide(const APFloat &, roundingMode);
301 opStatus mod(const APFloat &, roundingMode);
302 opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode);
303 opStatus roundToIntegral(roundingMode);
360 opStatus convert(const fltSemantics &, roundingMode, bool *);
361 opStatus convertToInteger(integerPart *, unsigned int, bool, roundingMode,
[all …]
/minix3/lib/libc/softfloat/bits32/
H A Dsoftfloat.c211 int8 roundingMode; in roundAndPackFloat32() local
216 roundingMode = float_rounding_mode; in roundAndPackFloat32()
217 roundNearestEven = roundingMode == float_round_nearest_even; in roundAndPackFloat32()
220 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
226 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
229 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
423 int8 roundingMode; in roundAndPackFloat64() local
426 roundingMode = float_rounding_mode; in roundAndPackFloat64()
427 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
430 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
[all …]
/minix3/lib/libc/softfloat/bits64/
H A Dsoftfloat.c124 int8 roundingMode; in roundAndPackInt32() local
129 roundingMode = float_rounding_mode; in roundAndPackInt32()
130 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
133 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
139 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
142 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
175 int8 roundingMode; in roundAndPackInt64() local
179 roundingMode = float_rounding_mode; in roundAndPackInt64()
180 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
183 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
[all …]
/minix3/lib/libc/softfloat/
H A Dtimesoftfloat.c1920 flag roundingPrecision, roundingMode; member
2055 int8 roundingMode, in timeFunctionVariety() argument
2078 switch ( roundingMode ) { in timeFunctionVariety()
2417 int8 roundingPrecision, roundingMode, tininessMode; in timeFunction() local
2427 for ( roundingMode = 1; in timeFunction()
2428 roundingMode < NUM_ROUNDINGMODES; in timeFunction()
2429 ++roundingMode in timeFunction()
2431 if ( ! functions[ functionCode ].roundingMode ) { in timeFunction()
2432 roundingMode = 0; in timeFunction()
2435 roundingMode = roundingModeIn; in timeFunction()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DAPFloat.cpp1197 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow()
1223 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero()
1260 APFloat::normalize(roundingMode rounding_mode, in normalize()
1642 APFloat::addOrSubtract(const APFloat &rhs, roundingMode rounding_mode, in addOrSubtract()
1673 APFloat::add(const APFloat &rhs, roundingMode rounding_mode) in add()
1680 APFloat::subtract(const APFloat &rhs, roundingMode rounding_mode) in subtract()
1687 APFloat::multiply(const APFloat &rhs, roundingMode rounding_mode) in multiply()
1706 APFloat::divide(const APFloat &rhs, roundingMode rounding_mode) in divide()
1762 APFloat::mod(const APFloat &rhs, roundingMode rounding_mode) in mod()
1804 roundingMode rounding_mode) in fusedMultiplyAdd()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp254 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator +=()
275 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator -=()
/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp1390 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero in ConstantFoldConvertToInt()
/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DAPFloatTest.cpp457 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
555 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()