Lines Matching refs:roundingMode

116     int8 roundingMode;  in roundAndPackInt32()  local
121 roundingMode = float_rounding_mode; in roundAndPackInt32()
122 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
125 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
131 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
134 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
167 int8 roundingMode; in roundAndPackInt64() local
171 roundingMode = float_rounding_mode; in roundAndPackInt64()
172 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
175 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
180 increment = ( roundingMode == float_round_down ) && absZ1; in roundAndPackInt64()
183 increment = ( roundingMode == float_round_up ) && absZ1; in roundAndPackInt64()
306 int8 roundingMode; in roundAndPackFloat32() local
311 roundingMode = float_rounding_mode; in roundAndPackFloat32()
312 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat32()
315 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
321 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
324 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
476 int8 roundingMode; in roundAndPackFloat64() local
481 roundingMode = float_rounding_mode; in roundAndPackFloat64()
482 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
485 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
491 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat64()
494 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat64()
654 int8 roundingMode; in roundAndPackFloatx80() local
658 roundingMode = float_rounding_mode; in roundAndPackFloatx80()
659 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloatx80()
674 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
680 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloatx80()
683 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloatx80()
730 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
735 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
738 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
752 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloatx80()
753 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloatx80()
754 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloatx80()
775 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
778 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
986 int8 roundingMode; in roundAndPackFloat128() local
989 roundingMode = float_rounding_mode; in roundAndPackFloat128()
990 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat128()
993 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat128()
998 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1001 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1018 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloat128()
1019 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloat128()
1020 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloat128()
1052 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1055 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1647 int8 roundingMode; in float32_round_to_int() local
1680 roundingMode = float_rounding_mode; in float32_round_to_int()
1681 if ( roundingMode == float_round_nearest_even ) { in float32_round_to_int()
1685 else if ( roundingMode != float_round_to_zero ) { in float32_round_to_int()
1686 if ( extractFloat32Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float32_round_to_int()
2612 int8 roundingMode; in float64_round_to_int() local
2646 roundingMode = float_rounding_mode; in float64_round_to_int()
2647 if ( roundingMode == float_round_nearest_even ) { in float64_round_to_int()
2651 else if ( roundingMode != float_round_to_zero ) { in float64_round_to_int()
2652 if ( extractFloat64Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float64_round_to_int()
3544 int8 roundingMode; in floatx80_round_to_int() local
3587 roundingMode = float_rounding_mode; in floatx80_round_to_int()
3588 if ( roundingMode == float_round_nearest_even ) { in floatx80_round_to_int()
3592 else if ( roundingMode != float_round_to_zero ) { in floatx80_round_to_int()
3593 if ( extractFloatx80Sign( z ) ^ ( roundingMode == float_round_up ) ) { in floatx80_round_to_int()
4663 int8 roundingMode; in float128_round_to_int() local
4680 roundingMode = float_rounding_mode; in float128_round_to_int()
4681 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4693 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4695 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()
4733 roundingMode = float_rounding_mode; in float128_round_to_int()
4734 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4740 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4742 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()