Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 6, 2026

Bumps bigdecimal from 0.3.1 to 0.4.10.

Release notes

Sourced from bigdecimal's releases.

v0.4.10

Changes

  • Add comparison operators between BigDecimal and primitive integers
  • Improve accuracy of initial iteration in square-root calculation
  • Only include necessary Rust files in the released package (no extra dev-scripts when downloading)

v0.4.9

Changes

  • Add methods BigDecimal::{powi, powi_with_context} for raising a decimal to a i64 power

    • the powi uses Default Context
  • Add methods BigDecimal::mul_with_context for efficient multiplication to fixed precision

    • uses precision and rounding-mode in the Context
  • Add method BigDecimal::decimal_digit_count, returning number of decimal digits (i.e. precision) of the number

  • Add method BigDecimal::order_of_magnitude, returning position of most significant digit of this decimal

  • Add method BigDecimal::is_one_quickcheck, returning Option<bool> indicating if the value is 1.0 if it can be calculated without allocating, or None if too large

    • Replaced is_one in multiplication methods when used for optimizations
      • Should test if that actually speeds it up
    • Eg value 1.00000000000000000000000000000000000000000 is stored internally as [4870020673419870208, 16114848830623546549, 293] E -41 and it's hard to tell this is equivalent to 1
  • Add optimizations to inverse

    • small powers of ten will simply flip their scale 1/10e-5 -> 10e5
    • convert to f64 to make initial guess when before iterative algorithm
  • Add Context::invert(&self, BigDecimalRef), equivalent to BigDecimal::inverse_with_context(&self, &ctx)

    • Still has a bug where rounding ignores sign, affecting floor/ceiling modes

v0.4.8

What's Changed

Full Changelog: akubera/bigdecimal-rs@v0.4.7...v0.4.8

v0.4.7

Changes

  • Fixed bug in BigDecimal::to_f64
  • Impl num_traits::ToPrimitive for BigDecimalRef
  • Added methods BigDecimal::{ToPlainString,WritePlainString}
  • Added Justfile to repo

v0.4.6

Changes

  • Fix error in formatting code that would skip "carrying the one" when rounding up series of nines, overflowing

... (truncated)

Commits
  • ea0803e v0.4.10
  • a53d3af Version 0.4.10
  • 6d8fd83 Enforce decimal precision in sqrt tests
  • c1f8f91 Move sqrt tests into sqrt.tests.rs
  • 95dff41 Add methods for constructing DigitVec from u128
  • 9bf2efc Correct index at which we add carry
  • df4cb29 Merge primitive-int comparison branch into trunk
  • 105eb60 Update doc-comments in bigdigit/alignment
  • 0571732 Update all parsing in tests to explicit BigDecimal type
  • ed1f8a9 Implement comparison with primitive integers
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 6, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 6, 2026

Merging this PR will not alter performance

✅ 11 untouched benchmarks
⏩ 11 skipped benchmarks1


Comparing dependabot/cargo/bigdecimal-0.4.10 (f57f3d8) with main (ab56fe7)

Open in CodSpeed

Footnotes

  1. 11 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Wasm Query Compiler File Size

Engine This PR Base branch Diff
Postgres 3.495MiB 3.497MiB -2.390KiB
Postgres (gzip) 1.149MiB 1.143MiB 5.941KiB
Postgres (size-optimized) 1.771MiB 1.764MiB 7.867KiB
Postgres (size-optimized, gzip) 699.437KiB 694.395KiB 5.042KiB
Mysql 3.446MiB 3.449MiB -3.239KiB
Mysql (gzip) 1.130MiB 1.125MiB 4.604KiB
Mysql (size-optimized) 1.738MiB 1.734MiB 3.527KiB
Mysql (size-optimized, gzip) 687.596KiB 682.976KiB 4.621KiB
Sqlite 3.366MiB 3.368MiB -2.419KiB
Sqlite (gzip) 1.104MiB 1.098MiB 6.031KiB
Sqlite (size-optimized) 1.694MiB 1.690MiB 4.534KiB
Sqlite (size-optimized, gzip) 671.063KiB 666.864KiB 4.200KiB
SQL Server 3.588MiB 3.591MiB -3.233KiB
SQL Server (gzip) 1.167MiB 1.161MiB 5.458KiB
SQL Server (size-optimized) 1.770MiB 1.764MiB 6.506KiB
SQL Server (size-optimized, gzip) 702.334KiB 697.357KiB 4.977KiB
CockroachDB 3.545MiB 3.547MiB -2.386KiB
CockroachDB (gzip) 1.168MiB 1.162MiB 5.965KiB
CockroachDB (size-optimized) 1.795MiB 1.789MiB 6.083KiB
CockroachDB (size-optimized, gzip) 708.930KiB 704.506KiB 4.424KiB

Bumps [bigdecimal](https://github.com/akubera/bigdecimal-rs) from 0.3.1 to 0.4.10.
- [Release notes](https://github.com/akubera/bigdecimal-rs/releases)
- [Commits](akubera/bigdecimal-rs@v0.3.1...v0.4.10)

---
updated-dependencies:
- dependency-name: bigdecimal
  dependency-version: 0.4.10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/bigdecimal-0.4.10 branch from 04bb7bd to f57f3d8 Compare February 11, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants