sxt-proof-of-sql icon indicating copy to clipboard operation
sxt-proof-of-sql copied to clipboard

refactor: tidy up `decimal` module

Open JayWhite2357 opened this issue 4 months ago • 0 comments

Rationale for this change

After #283, the math::decimal module is a bit untidy, especially around error types and tests.

What changes are included in this PR?

This reorganizes the module, tidies things up, and adds some more thorough unit tests. Please look at the individual commits since there is a lot of code moved, and the individual commits are smaller than the aggregate.

Are these changes tested?

Yes

JayWhite2357 avatar Oct 22 '24 05:10 JayWhite2357