41#include "specialize.h"
63 switch ( roundingMode ) {
75#ifdef SOFTFLOAT_ROUND_ODD
86 if ( (exp == 0x1F) &&
fracF16UI( uiA ) ) {
96 roundBitsMask = lastBitMask - 1;
98 uiZ += lastBitMask>>1;
100 uiZ += lastBitMask>>1;
101 if ( !(uiZ & roundBitsMask) ) uiZ &= ~lastBitMask;
106 uiZ += roundBitsMask;
108 uiZ &= ~roundBitsMask;
110#ifdef SOFTFLOAT_ROUND_ODD
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
uint_fast16_t softfloat_propagateNaNF16UI(uint_fast16_t uiA, uint_fast16_t uiB)
float16_t f16_roundToInt(float16_t a, uint_fast8_t roundingMode, bool exact)
#define packToF16UI(sign, exp, sig)
THREAD_LOCAL uint_fast8_t softfloat_exceptionFlags
@ softfloat_round_near_even
@ softfloat_round_near_maxMag