| 400 | } |
| 401 | |
| 402 | bool decimal_equal_value(const Decimal &left, const Decimal &right) { |
| 403 | Decimal a; |
| 404 | Decimal b; |
| 405 | if (!canonical_decimal(left, a) || !canonical_decimal(right, b)) { |
| 406 | return false; |
| 407 | } |
| 408 | return a == b; |
| 409 | } |
| 410 | |
| 411 | bool decimal_to_integral_magnitude(const Decimal &decimal, BigUInt &magnitude, |
| 412 | bool &negative) { |
no test coverage detected