tspiteri/fixed (fixed)
### [`v1.28.0`](https://gitlab.com/tspiteri/fixed/blob/HEAD/RELEASES.md#Version-1280-news-2024-07-25)
[Compare Source](https://gitlab.com/tspiteri/fixed/compare/v1.27.0...v1.28.0)
- The crate now requires rustc version 1.79.0 or later.
- The following methods were added to all fixed-point numbers and to the
[`Fixed`][tf-1-28] trait:
- [`unchecked_add`][f-ua-1-28], [`unchecked_sub`][f-us-1-28],
[`unchecked_mul_int`][f-umi-1-28]
- For all fixed-point numbers and the [`Fixed`][tf-1-28] trait, the following
methods were renamed. The old method names are deprecated.
- [`round_ties_to_even`][f-rtte-1-28] renamed to
[`round_ties_even`][f-rte-1-28]
- [`checked_round_ties_to_even`][f-crtte-1-28] renamed to
[`checked_round_ties_even`][f-crte-1-28]
- [`saturating_round_ties_to_even`][f-srtte-1-28] renamed to
[`saturating_round_ties_even`][f-srte-1-28]
- [`wrapping_round_ties_to_even`][f-wrtte-1-28] renamed to
[`wrapping_round_ties_even`][f-wrte-1-28]
- [`unwrapped_round_ties_to_even`][f-urtte-1-28] renamed to
[`unwrapped_round_ties_even`][f-urte-1-28]
- [`overflowing_round_ties_to_even`][f-ortte-1-28] renamed to
[`overflowing_round_ties_even`][f-orte-1-28]
- The following constants were added to the [`consts`][c-1-28] module and as
associated constants to fixed-point types:
- [`SQRT_2PI`][c-r2p-1-28], [`FRAC_1_SQRT_2PI`][c-1r2p-1-28]
- The experimental feature [`nightly-float`][feat-exp-1-28] was added.
- For the experimental feature [`num-traits`][feat-exp-1-28], the following
traits were implemented for all fixed-point numbers:
- [`ConstZero`][nt-0-2-cz], [`ConstOne`][nt-0-2-co]
- [`ToBytes`][nt-0-2-tb], [`FromBytes`][nt-0-2-fb]
[c-1-28]: https://docs.rs/fixed/~1.28/fixed/consts/index.html
[c-1r2p-1-28]: https://docs.rs/fixed/~1.28/fixed/consts/constant.FRAC_1_SQRT_2PI.html
[c-r2p-1-28]: https://docs.rs/fixed/~1.28/fixed/consts/constant.SQRT_2PI.html
[f-crte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.checked_round_ties_even
[f-crtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.checked_round_ties_to_even
[f-orte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.overflowing_round_ties_even
[f-ortte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.overflowing_round_ties_to_even
[f-rte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.round_ties_even
[f-rtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.round_ties_to_even
[f-srte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.saturating_round_ties_even
[f-srtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.saturating_round_ties_to_even
[f-ua-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unchecked_add
[f-umi-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unchecked_mul_int
[f-urte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unwrapped_round_ties_even
[f-urtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unwrapped_round_ties_to_even
[f-us-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unchecked_sub
[f-wrte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.wrapping_round_ties_even
[f-wrtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.wrapping_round_ties_to_even
[feat-exp-1-28]: https://docs.rs/fixed/~1.28/fixed/index.html#experimental-optional-features
[nt-0-2-co]: https://docs.rs/num-traits/^0.2/num_traits/identities/trait.ConstOne.html
[nt-0-2-cz]: https://docs.rs/num-traits/^0.2/num_traits/identities/trait.ConstZero.html
[nt-0-2-fb]: https://docs.rs/num-traits/^0.2/num_traits/ops/bytes/trait.FromBytes.html
[nt-0-2-tb]: https://docs.rs/num-traits/^0.2/num_traits/ops/bytes/trait.ToBytes.html
[tf-1-28]: https://docs.rs/fixed/~1.28/fixed/traits/trait.Fixed.html
Configuration
📅 Schedule: Branch creation - "before 4pm on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.27.0
->1.28.0
Release Notes
tspiteri/fixed (fixed)
### [`v1.28.0`](https://gitlab.com/tspiteri/fixed/blob/HEAD/RELEASES.md#Version-1280-news-2024-07-25) [Compare Source](https://gitlab.com/tspiteri/fixed/compare/v1.27.0...v1.28.0) - The crate now requires rustc version 1.79.0 or later. - The following methods were added to all fixed-point numbers and to the [`Fixed`][tf-1-28] trait: - [`unchecked_add`][f-ua-1-28], [`unchecked_sub`][f-us-1-28], [`unchecked_mul_int`][f-umi-1-28] - For all fixed-point numbers and the [`Fixed`][tf-1-28] trait, the following methods were renamed. The old method names are deprecated. - [`round_ties_to_even`][f-rtte-1-28] renamed to [`round_ties_even`][f-rte-1-28] - [`checked_round_ties_to_even`][f-crtte-1-28] renamed to [`checked_round_ties_even`][f-crte-1-28] - [`saturating_round_ties_to_even`][f-srtte-1-28] renamed to [`saturating_round_ties_even`][f-srte-1-28] - [`wrapping_round_ties_to_even`][f-wrtte-1-28] renamed to [`wrapping_round_ties_even`][f-wrte-1-28] - [`unwrapped_round_ties_to_even`][f-urtte-1-28] renamed to [`unwrapped_round_ties_even`][f-urte-1-28] - [`overflowing_round_ties_to_even`][f-ortte-1-28] renamed to [`overflowing_round_ties_even`][f-orte-1-28] - The following constants were added to the [`consts`][c-1-28] module and as associated constants to fixed-point types: - [`SQRT_2PI`][c-r2p-1-28], [`FRAC_1_SQRT_2PI`][c-1r2p-1-28] - The experimental feature [`nightly-float`][feat-exp-1-28] was added. - For the experimental feature [`num-traits`][feat-exp-1-28], the following traits were implemented for all fixed-point numbers: - [`ConstZero`][nt-0-2-cz], [`ConstOne`][nt-0-2-co] - [`ToBytes`][nt-0-2-tb], [`FromBytes`][nt-0-2-fb] [c-1-28]: https://docs.rs/fixed/~1.28/fixed/consts/index.html [c-1r2p-1-28]: https://docs.rs/fixed/~1.28/fixed/consts/constant.FRAC_1_SQRT_2PI.html [c-r2p-1-28]: https://docs.rs/fixed/~1.28/fixed/consts/constant.SQRT_2PI.html [f-crte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.checked_round_ties_even [f-crtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.checked_round_ties_to_even [f-orte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.overflowing_round_ties_even [f-ortte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.overflowing_round_ties_to_even [f-rte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.round_ties_even [f-rtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.round_ties_to_even [f-srte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.saturating_round_ties_even [f-srtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.saturating_round_ties_to_even [f-ua-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unchecked_add [f-umi-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unchecked_mul_int [f-urte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unwrapped_round_ties_even [f-urtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unwrapped_round_ties_to_even [f-us-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.unchecked_sub [f-wrte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.wrapping_round_ties_even [f-wrtte-1-28]: https://docs.rs/fixed/~1.28/fixed/struct.FixedI32.html#method.wrapping_round_ties_to_even [feat-exp-1-28]: https://docs.rs/fixed/~1.28/fixed/index.html#experimental-optional-features [nt-0-2-co]: https://docs.rs/num-traits/^0.2/num_traits/identities/trait.ConstOne.html [nt-0-2-cz]: https://docs.rs/num-traits/^0.2/num_traits/identities/trait.ConstZero.html [nt-0-2-fb]: https://docs.rs/num-traits/^0.2/num_traits/ops/bytes/trait.FromBytes.html [nt-0-2-tb]: https://docs.rs/num-traits/^0.2/num_traits/ops/bytes/trait.ToBytes.html [tf-1-28]: https://docs.rs/fixed/~1.28/fixed/traits/trait.Fixed.htmlConfiguration
📅 Schedule: Branch creation - "before 4pm on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.