Lines Matching refs:roundingMode
124 int8 roundingMode; in roundAndPackInt32() local
129 roundingMode = float_rounding_mode; in roundAndPackInt32()
130 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32()
133 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32()
139 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32()
142 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32()
175 int8 roundingMode; in roundAndPackInt64() local
179 roundingMode = float_rounding_mode; in roundAndPackInt64()
180 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64()
183 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64()
188 increment = ( roundingMode == float_round_down ) && absZ1; in roundAndPackInt64()
191 increment = ( roundingMode == float_round_up ) && absZ1; in roundAndPackInt64()
314 int8 roundingMode; in roundAndPackFloat32() local
319 roundingMode = float_rounding_mode; in roundAndPackFloat32()
320 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat32()
323 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32()
329 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32()
332 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32()
484 int8 roundingMode; in roundAndPackFloat64() local
489 roundingMode = float_rounding_mode; in roundAndPackFloat64()
490 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64()
493 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64()
499 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat64()
502 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat64()
662 int8 roundingMode; in roundAndPackFloatx80() local
666 roundingMode = float_rounding_mode; in roundAndPackFloatx80()
667 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloatx80()
682 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
688 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloatx80()
691 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloatx80()
738 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloatx80()
743 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
746 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
760 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloatx80()
761 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloatx80()
762 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloatx80()
783 increment = ( roundingMode == float_round_down ) && zSig1; in roundAndPackFloatx80()
786 increment = ( roundingMode == float_round_up ) && zSig1; in roundAndPackFloatx80()
994 int8 roundingMode; in roundAndPackFloat128() local
997 roundingMode = float_rounding_mode; in roundAndPackFloat128()
998 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat128()
1001 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat128()
1006 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1009 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1026 if ( ( roundingMode == float_round_to_zero ) in roundAndPackFloat128()
1027 || ( zSign && ( roundingMode == float_round_up ) ) in roundAndPackFloat128()
1028 || ( ! zSign && ( roundingMode == float_round_down ) ) in roundAndPackFloat128()
1060 increment = ( roundingMode == float_round_down ) && zSig2; in roundAndPackFloat128()
1063 increment = ( roundingMode == float_round_up ) && zSig2; in roundAndPackFloat128()
1651 int8 roundingMode; in float32_round_to_int() local
1684 roundingMode = float_rounding_mode; in float32_round_to_int()
1685 if ( roundingMode == float_round_nearest_even ) { in float32_round_to_int()
1689 else if ( roundingMode != float_round_to_zero ) { in float32_round_to_int()
1690 if ( extractFloat32Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float32_round_to_int()
2616 int8 roundingMode; in float64_round_to_int() local
2650 roundingMode = float_rounding_mode; in float64_round_to_int()
2651 if ( roundingMode == float_round_nearest_even ) { in float64_round_to_int()
2655 else if ( roundingMode != float_round_to_zero ) { in float64_round_to_int()
2656 if ( extractFloat64Sign( z ) ^ ( roundingMode == float_round_up ) ) { in float64_round_to_int()
3548 int8 roundingMode; in floatx80_round_to_int() local
3591 roundingMode = float_rounding_mode; in floatx80_round_to_int()
3592 if ( roundingMode == float_round_nearest_even ) { in floatx80_round_to_int()
3596 else if ( roundingMode != float_round_to_zero ) { in floatx80_round_to_int()
3597 if ( extractFloatx80Sign( z ) ^ ( roundingMode == float_round_up ) ) { in floatx80_round_to_int()
4667 int8 roundingMode; in float128_round_to_int() local
4684 roundingMode = float_rounding_mode; in float128_round_to_int()
4685 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4697 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4699 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()
4737 roundingMode = float_rounding_mode; in float128_round_to_int()
4738 if ( roundingMode == float_round_nearest_even ) { in float128_round_to_int()
4744 else if ( roundingMode != float_round_to_zero ) { in float128_round_to_int()
4746 ^ ( roundingMode == float_round_up ) ) { in float128_round_to_int()