Tracking Issue for `int_roundings`
<!-- homu-ignore:start --> *[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/issues/88581)* <!-- homu-ignore:end --> Feature gate: `#![feature(int_roundings)]` This is a tracking issue for the `div_floor`, `div_ceil`, `next_multiple_of`, and `checked_multiple_of` methods on all integer types. ### Public API ```rust impl {integer} { #[unstable] pub const fn div_floor(self, rhs: Self) -> Self; } impl {signed integer} { #[unstable] pub const fn div_ceil(self, rhs: Self) -> Self; #[unstable] pub const fn next_multiple_of(self, rhs: Self) -> Self; #[unstable] pub const fn checked_next_multiple_of(self, rhs: Self) -> Option<Self>; } impl {unsigned integer} { #[stable(since = "1.73.0")] pub const fn div_ceil(self, rhs: Self) -> Self; #[stable(since = "1.73.0")] pub const fn next_multiple_of(self, rhs: Self) -> Self; #[stable(since = "1.73.0")] pub const fn checked_next_multiple_of(self, rhs: Self) -> Option<Self>; } ``` ### Steps / History - https://github.com/rust-lang/rust/pull/88582 - https://github.com/rust-lang/rust/issues/88971 - https://github.com/rust-lang/rust/pull/89184 - https://github.com/rust-lang/rust/pull/90329 - https://github.com/rust-lang/rust/pull/91141 - https://github.com/rust-lang/rust/pull/95359 - https://github.com/rust-lang/rust/pull/94455 ### Unresolved Questions - None yet.
Posted by jhpratt on Sep 2, 2021, 5:24 AM
Tags
Related issues
- Custom games stuck on "finding server" for all european servers
- Feature request: add ACP (Agent Client Protocol) stdio JSON-RPC mode
- Forza Horizon 6 (2483190)
- Turn off integrated browser for default
- Weekly updates are too frequent
- [BUG] Max 20x plan: 100% usage after 2 hours of light work (5 commits, no agents)
Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments
github (Sysadmin)
Custom games stuck on "finding server" for all european servers
Feature request: add ACP (Agent Client Protocol) stdio JSON-RPC mode
Forza Horizon 6 (2483190)
Turn off integrated browser for default
Weekly updates are too frequent
[BUG] Max 20x plan: 100% usage after 2 hours of light work (5 commits, no agents)
Add gemini-3.1-pro-preview
[TF2] Feature request: Bring Back Quickplay
Tracking Issue for `int_roundings`
<!-- homu-ignore:start --> *[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/issues/88581)* <!-- homu-ignore:end --> Feature gate: `#![feature(int_roundings)]` This is a tracking issue for the `div_floor`, `div_ceil`, `next_multiple_of`, and `checked_multiple_of` methods on all integer types. ### Public API ```rust impl {integer} { #[unstable] pub const fn div_floor(self, rhs: Self) -> Self; } impl {signed integer} { #[unstable] pub const fn div_ceil(self, rhs: Self) -> Self; #[unstable] pub const fn next_multiple_of(self, rhs: Self) -> Self; #[unstable] pub const fn checked_next_multiple_of(self, rhs: Self) -> Option<Self>; } impl {unsigned integer} { #[stable(since = "1.73.0")] pub const fn div_ceil(self, rhs: Self) -> Self; #[stable(since = "1.73.0")] pub const fn next_multiple_of(self, rhs: Self) -> Self; #[stable(since = "1.73.0")] pub const fn checked_next_multiple_of(self, rhs: Self) -> Option<Self>; } ``` ### Steps / History - https://github.com/rust-lang/rust/pull/88582 - https://github.com/rust-lang/rust/issues/88971 - https://github.com/rust-lang/rust/pull/89184 - https://github.com/rust-lang/rust/pull/90329 - https://github.com/rust-lang/rust/pull/91141 - https://github.com/rust-lang/rust/pull/95359 - https://github.com/rust-lang/rust/pull/94455 ### Unresolved Questions - None yet.
Comments (0)
No comments yet. Start the discussion.