Lines Matching refs:roundingMode
113 int8 roundingMode; in roundAndPackInt32() local
118 roundingMode = float_rounding_mode; in roundAndPackInt32()
119 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
122 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
128 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
131 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
164 int8 roundingMode; in roundAndPackInt64() local
168 roundingMode = float_rounding_mode; in roundAndPackInt64()
169 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
172 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
177 increment = ( roundingMode == float_round_down ) && absZ1; in roundAndPackInt64()
180 increment = ( roundingMode == float_round_up ) && absZ1; in roundAndPackInt64()
303 int8 roundingMode; in roundAndPackFloat32() local
308 roundingMode = float_rounding_mode; in roundAndPackFloat32()
309 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat32()
312 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
318 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
321 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
473 int8 roundingMode; in roundAndPackFloat64() local
478 roundingMode = float_rounding_mode; in roundAndPackFloat64()
479 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
482 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
488 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat64()
491 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat64()
651 int8 roundingMode; in roundAndPackFloatx80() local
655 roundingMode = float_rounding_mode; in roundAndPackFloatx80()
656 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloatx80()
671 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
677 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloatx80()
680 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloatx80()
727 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
732 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
735 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
749 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloatx80()
750 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloatx80()
751 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloatx80()
772 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
775 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
983 int8 roundingMode; in roundAndPackFloat128() local
986 roundingMode = float_rounding_mode; in roundAndPackFloat128()
987 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat128()
990 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat128()
995 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
998 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1015 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloat128()
1016 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloat128()
1017 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloat128()
1049 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1052 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1644 int8 roundingMode; in float32_round_to_int() local
1677 roundingMode = float_rounding_mode; in float32_round_to_int()
1678 if ( roundingMode == float_round_nearest_even ) { in float32_round_to_int()
1682 else if ( roundingMode != float_round_to_zero ) { in float32_round_to_int()
1683 if ( extractFloat32Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float32_round_to_int()
2609 int8 roundingMode; in float64_round_to_int() local
2643 roundingMode = float_rounding_mode; in float64_round_to_int()
2644 if ( roundingMode == float_round_nearest_even ) { in float64_round_to_int()
2648 else if ( roundingMode != float_round_to_zero ) { in float64_round_to_int()
2649 if ( extractFloat64Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float64_round_to_int()
3541 int8 roundingMode; in floatx80_round_to_int() local
3584 roundingMode = float_rounding_mode; in floatx80_round_to_int()
3585 if ( roundingMode == float_round_nearest_even ) { in floatx80_round_to_int()
3589 else if ( roundingMode != float_round_to_zero ) { in floatx80_round_to_int()
3590 if ( extractFloatx80Sign( z ) ^ ( roundingMode == float_round_up ) ) { in floatx80_round_to_int()
4660 int8 roundingMode; in float128_round_to_int() local
4677 roundingMode = float_rounding_mode; in float128_round_to_int()
4678 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4690 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4692 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()
4730 roundingMode = float_rounding_mode; in float128_round_to_int()
4731 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4737 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4739 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()