You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use newly added panicking_add/panicking_sub for Timestamp math (backport #2098) (#2105)
* Add panicking_sub to Uint64/Uint128/Uint256/Uint512
(cherry picked from commit 547efed)
# Conflicts:
# CHANGELOG.md
* Improve docs of Timestamp::minus_* and use panicking_sub
(cherry picked from commit 242cc1f)
# Conflicts:
# CHANGELOG.md
* Add Uint{64,128,256,512}::panicking_add
(cherry picked from commit a74aba0)
# Conflicts:
# CHANGELOG.md
* Add #[inline] annotations to plus_seconds/minus_seconds
(cherry picked from commit bbb788d)
* Make overflow behaviour explicit for Timestamp
(cherry picked from commit b265b33)
# Conflicts:
# CHANGELOG.md
* Add PR link to new CHANGELOG entries
(cherry picked from commit 198001e)
# Conflicts:
# CHANGELOG.md
* Fix CHANGELOG
* Use zero() and one() from functions in tests
ZERO / ONE are not yet available in 1.4
---------
Co-authored-by: Simon Warta <[email protected]>
0 commit comments