CurtHagenlocher opened a new pull request, #292:
URL: https://github.com/apache/arrow-dotnet/pull/292
## What's Changed
- Fixes DecimalUtility.GetDecimal to correctly handle high-scale values
(e.g., Decimal256 with precision 76, scale 38) that previously threw
OverflowException — addresses issue #247
- Adds a fast path using Int128 on .NET 7+ that avoids BigInteger
allocation for values that fit in 128 bits
- Replaces the old fractional-part overflow check (which threw) with
FractionToDecimal, which gracefully reduces precision to fit within decimal's
~28-digit mantissa
Closes #247.
Partially addresses #96.
--
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]