We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Describe the bug
Users can create Decimal values with invalid BYTE_WIDTH, such as
let v = BasicDecimal::<1>::new(1, 1, &);
We need to add more restriction to the decimal type so that only Decimal128 and Decimal256 can be used.
The text was updated successfully, but these errors were encountered:
Simplify decimal (apache#2440)
RFC: Simplify decimal (#2440) (#2477)
* Simplify decimal (#2440)
* Fix doc
* Review feedback
* Add docs
* Fix logical merge conflict
Successfully merging a pull request may close this issue.