Hisoka-X commented on PR #41156:
URL: https://github.com/apache/spark/pull/41156#issuecomment-1660424748

   > Is it better to avoid double round-up? e.g. we can pass a `MathContext` of 
the result decimal type (with wider precision to avoid overflow) to all decimal 
arithmetic operations. `toPrecision` only checks overflow.
   > 
   > also cc @beliefer , does your new decimal implementation have the same bug?
   
   Sounds reasonable. Let me implement it.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to