Skip to content

Commit

Permalink
add reference to issue for decimal32 approx
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Sep 30, 2024
1 parent 1ae0185 commit d47f492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/util/decimal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct DecimalRealConversion : public BaseDecimalRealConversion {
constexpr int kMantissaDigits = RealTraits<Real>::kMantissaDigits;

// to avoid precision and rounding issues, we'll unconditionally
// throw Decimal32 to the approx algorithm instead.
// throw Decimal32 to the approx algorithm instead. (GH-44216)
if constexpr (std::is_base_of_v<BasicDecimal32, DecimalType>) {
return Derived::FromPositiveRealApprox(real, precision, scale);
}
Expand Down

0 comments on commit d47f492

Please sign in to comment.