fallintoplace opened a new pull request, #1094:
URL: https://github.com/apache/arrow-go/pull/1094

   ### What happened
   
   Decimal HalfToOdd rounding chose the positive direction whenever the 
truncated value was even. That made negative ties such as -2.50 round to -1.00 
instead of -3.00.
   
   ### What changed
   
   Use the remainder sign to choose the direction for decimal128 and decimal256 
HalfToOdd rounding.
   
   ### Tests
   
   - go test ./arrow/compute/...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to