Update Rust crate num-traits to v0.2.19 #84
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.14
->0.2.19
Release Notes
rust-num/num-traits (num-traits)
v0.2.19
Compare Source
Float::clamp
limits values by minimum and maximumContributors: @cuviper, @michaelciraci
v0.2.18
Compare Source
Euclid::div_rem_euclid
andCheckedEuclid::checked_div_rem_euclid
methodscompute and return the quotient and remainder at the same time.
TotalOrder
trait implements the IEEE 754totalOrder
predicate.ConstZero
andConstOne
traits offered associated constants,extending the non-const
Zero
andOne
traits for types that have constant values.Contributors: @andrewjradcliffe, @cuviper, @tarcieri, @tdelabro, @waywardmonkeys
v0.2.17
Compare Source
Contributors: @robamu
v0.2.16
Compare Source
ToBytes
andFromBytes
traits convert to and from byterepresentations of a value, with little, big, and native-endian options.
Float::is_subnormal
method checks for subnormal values, witha non-zero magnitude that is less than the normal minimum positive value.
Contributors: @ctrlcctrlv, @cuviper, @flier, @GuillaumeGomez, @kaidokert,
@rs017991, @vicsn
v0.2.15
Compare Source
Euclid
trait calculates Euclidean division, where theremainder is always positive or zero.
LowerBounded
andUpperBounded
traits separately describetypes with lower and upper bounds. These traits are automatically implemented
for all fully-
Bounded
types.Float::copysign
method copies the sign of the argument toto the magnitude of
self
.PrimInt::leading_ones
andtrailing_ones
methods are thecomplement of the existing methods that count zero bits.
PrimInt::reverse_bits
method reverses the order of all bitsof a primitive integer.
Num::from_str_radix
for floats, also ignoring case.Float
andFloatCore
use more fromlibm
when that is enabled.Contributors: @alion02, @clarfonthey, @cuviper, @ElectronicRU,
@ibraheemdev, @SparrowLii, @sshilovsky, @tspiteri, @XAMPPRocky, @Xiretza
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.