41#include "specialize.h"
63 switch ( roundingMode ) {
67 if ( exp == 0x7E ) uiZ |=
packToF32UI( 0, 0x7F, 0 );
75#ifdef SOFTFLOAT_ROUND_ODD
86 if ( (exp == 0xFF) &&
fracF32UI( 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_fast32_t softfloat_propagateNaNF32UI(uint_fast32_t uiA, uint_fast32_t uiB)
float32_t f32_roundToInt(float32_t a, uint_fast8_t roundingMode, bool exact)
#define packToF32UI(sign, exp, sig)
THREAD_LOCAL uint_fast8_t softfloat_exceptionFlags
@ softfloat_round_near_even
@ softfloat_round_near_maxMag