rulox
rulox copied to clipboard
Bump num-traits from 0.2.6 to 0.2.14
Bumps num-traits from 0.2.6 to 0.2.14.
Changelog
Sourced from num-traits's changelog.
Release 0.2.14 (2020-10-29)
- Clarify the license specification as "MIT OR Apache-2.0".
Contributors: @cuviper
Release 0.2.13 (2020-10-29)
- The new
OverflowingAdd
,OverflowingSub
, andOverflowingMul
traits return a tuple with the operation result and abool
indicating overflow.- The "i128" feature now overrides compiler probes for that support. This may fix scenarios where
autocfg
probing doesn't work properly.- Casts from large
f64
values tof32
now saturate to infinity. They previously returnedNone
because that was once thought to be undefined behavior, but rust#15536 resolved that such casts are fine.Num::from_str_radix
documents requirements for radix support, which are now more relaxed than previously implied. It is suggested to accept at least2..=36
without panicking, butErr
may be returned otherwise.Contributors: @cuviper, @Enet4, @KaczuH, @martin-t, @newpavlov
Release 0.2.12 (2020-06-11)
- The new
WrappingNeg
trait will wrap the result if it exceeds the boundary of the type, e.g.i32::MIN.wrapping_neg() == i32::MIN
.- The new
SaturatingAdd
,SaturatingSub
, andSaturatingMul
traits will saturate at the numeric bounds if the operation would overflow. These soft-deprecate the existingSaturating
trait that only has addition and subtraction methods.- Added new constants for logarithms,
FloatConst::{LOG10_2, LOG2_10}
.Contributors: @cuviper, @ocstl, @trepetti, @vallentin
Release 0.2.11 (2020-01-09)
- [Added the full circle constant τ as
FloatConst::TAU
][145].- [Updated the
autocfg
build dependency to 1.0][148].
Commits
e8da6fe
Release 0.2.14deedb93
Merge #1935e3352c
Update the names for overflowing results5b62992
Document relaxed requirements for Num::from_str_radix37e7658
Release 0.2.13f0a980b
Merge #185 #186 #19026c9ad2
Merge #180a939c51
Correct docs for overflowing docs6c499ad
Normalize the comment style234e855
Allow large f64-to-f32 to saturate to infinity- Additional commits viewable in compare view
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 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 use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)