Lines Matching refs:roundingMode

72     int8 roundingMode;  in roundAndPackInt32()  local
77 roundingMode = roundData->mode; in roundAndPackInt32()
78 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
81 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
87 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
90 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
219 int8 roundingMode; in roundAndPackFloat32() local
224 roundingMode = roundData->mode; in roundAndPackFloat32()
225 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat32()
228 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
234 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
237 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
390 int8 roundingMode; in roundAndPackFloat64() local
395 roundingMode = roundData->mode; in roundAndPackFloat64()
396 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
399 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
405 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat64()
408 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat64()
569 int8 roundingMode, roundingPrecision; in roundAndPackFloatx80() local
573 roundingMode = roundData->mode; in roundAndPackFloatx80()
575 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloatx80()
590 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
596 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloatx80()
599 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloatx80()
646 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
651 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
654 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
668 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloatx80()
669 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloatx80()
670 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloatx80()
691 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
694 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
973 int8 roundingMode; in float32_round_to_int() local
983 roundingMode = roundData->mode; in float32_round_to_int()
988 switch ( roundingMode ) { in float32_round_to_int()
1005 if ( roundingMode == float_round_nearest_even ) { in float32_round_to_int()
1009 else if ( roundingMode != float_round_to_zero ) { in float32_round_to_int()
1010 if ( extractFloat32Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float32_round_to_int()
1868 int8 roundingMode; in float64_round_to_int() local
1900 roundingMode = roundData->mode; in float64_round_to_int()
1901 if ( roundingMode == float_round_nearest_even ) { in float64_round_to_int()
1905 else if ( roundingMode != float_round_to_zero ) { in float64_round_to_int()
1906 if ( extractFloat64Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float64_round_to_int()
2675 int8 roundingMode; in floatx80_round_to_int() local
2716 roundingMode = roundData->mode; in floatx80_round_to_int()
2717 if ( roundingMode == float_round_nearest_even ) { in floatx80_round_to_int()
2721 else if ( roundingMode != float_round_to_zero ) { in floatx80_round_to_int()
2722 if ( extractFloatx80Sign( z ) ^ ( roundingMode == float_round_up ) ) { in floatx80_round_to_int()