Skip to content
New issue

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? Sign in to your account

Bump malachite-nz from 0.4.14 to 0.4.16 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 9, 2024

Bumps malachite-nz from 0.4.14 to 0.4.16.

Release notes

Sourced from malachite-nz's releases.

v0.4.16

This release adds efficient Float division, as well as efficient multiplication of Floats by Rationals, division of Floats by Rationals, and division of Rationals by Floats. Conversion from Rationals to Floats is also more efficient, because it now uses Float division. The Reciprocal trait, and related functions, are also now implemented for Floats. Taking the reciprocal with these functions is slightly faster than computing 1/x using the division functions.

Now that the four basic arithmetic functions are supported for Floats, I'm able to move on to more interesting functions. Apart from the square root function and efficient string conversion functions, the functions that have yet to be implemented have simpler implementations in MPFR than the functions that have already been translated for Malachite, so you can generally expect the development of Floats to speed up a bit.

Other changes include

  • Float::from_natural_min_prec and related functions, which convert from Naturals or Integers to Floats using the minimum precision necessary.
  • Float::from_natural_prec_round_ref is now smarter: if converting from a large Natural with low precision, only the few most-significant bits that are needed are copied.
  • More Float functions are now tested against the rug library.
  • Some more random Natural, Integer, and Rational generators are added.
  • Two nontrivial Float constants are added (not actually constants, since you need to specify a precision and optionally a rounding mode). They are the prime constant and the Thue-Morse constant. They're not very useful; I just added them because I like constants. More useful constants are coming soon!

v0.4.15

This is a small release. Its purpose is mostly to include this pull request, which specifies the minimum supported Rust version. There is a more substantial release coming in the next weeks, which will contain efficient implementations of Float division and reciprocation.

This release includes

  • A MSRV specification, as mentioned above (thanks to John Vandenberg)
  • Implementations of AbsDiff for Integer
  • Implementations of EqAbs between Rationals and other numeric types
  • A small efficiency improvement for the Sum and Product implementations on Rational
  • More thorough testing for division-by-zero and exact rounding in malachite-base. This is purely proactive; no bugs have been found
Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [malachite-nz](https://github.com/mhogrefe/malachite) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/mhogrefe/malachite/releases)
- [Commits](mhogrefe/malachite@v0.4.14...v0.4.16)

---
updated-dependencies:
- dependency-name: malachite-nz
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 9, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants