@@ -1849,17 +1849,17 @@ macro_rules! int_impl {
18491849[ doc = concat!( "let a: " ,  stringify!( $SelfT) , " = 8;" ) ] 
18501850        /// let b = 3; 
18511851/// 
1852- /// assert_eq!(a.div_floor (b), 2); 
1853- /// assert_eq!(a.div_floor (-b), -3); 
1854- /// assert_eq!((-a).div_floor (b), -3); 
1855- /// assert_eq!((-a).div_floor (-b), 2); 
1852+ /// assert_eq!(a.unstable_div_floor (b), 2); 
1853+ /// assert_eq!(a.unstable_div_floor (-b), -3); 
1854+ /// assert_eq!((-a).unstable_div_floor (b), -3); 
1855+ /// assert_eq!((-a).unstable_div_floor (-b), 2); 
18561856/// ``` 
18571857[ unstable( feature = "int_roundings" ,  issue = "88581" ) ] 
18581858        #[ must_use = "this returns the result of the operation, \  
18591859] 
18601860        #[ inline] 
18611861        #[ rustc_inherit_overflow_checks] 
1862-         pub  const  fn  div_floor ( self ,  rhs:  Self )  -> Self  { 
1862+         pub  const  fn  unstable_div_floor ( self ,  rhs:  Self )  -> Self  { 
18631863            let  d = self  / rhs; 
18641864            let  r = self  % rhs; 
18651865            if  ( r > 0  && rhs < 0 )  || ( r < 0  && rhs > 0 )  { 
@@ -1884,17 +1884,17 @@ macro_rules! int_impl {
18841884[ doc = concat!( "let a: " ,  stringify!( $SelfT) , " = 8;" ) ] 
18851885        /// let b = 3; 
18861886/// 
1887- /// assert_eq!(a.div_ceil (b), 3); 
1888- /// assert_eq!(a.div_ceil (-b), -2); 
1889- /// assert_eq!((-a).div_ceil (b), -2); 
1890- /// assert_eq!((-a).div_ceil (-b), 3); 
1887+ /// assert_eq!(a.unstable_div_ceil (b), 3); 
1888+ /// assert_eq!(a.unstable_div_ceil (-b), -2); 
1889+ /// assert_eq!((-a).unstable_div_ceil (b), -2); 
1890+ /// assert_eq!((-a).unstable_div_ceil (-b), 3); 
18911891/// ``` 
18921892[ unstable( feature = "int_roundings" ,  issue = "88581" ) ] 
18931893        #[ must_use = "this returns the result of the operation, \  
18941894] 
18951895        #[ inline] 
18961896        #[ rustc_inherit_overflow_checks] 
1897-         pub  const  fn  div_ceil ( self ,  rhs:  Self )  -> Self  { 
1897+         pub  const  fn  unstable_div_ceil ( self ,  rhs:  Self )  -> Self  { 
18981898            let  d = self  / rhs; 
18991899            let  r = self  % rhs; 
19001900            if  ( r > 0  && rhs > 0 )  || ( r < 0  && rhs < 0 )  { 
@@ -1919,21 +1919,21 @@ macro_rules! int_impl {
19191919/// 
19201920/// ``` 
19211921/// #![feature(int_roundings)] 
1922- [ doc = concat!( "assert_eq!(16_" ,  stringify!( $SelfT) ,  ".next_multiple_of (8), 16);" ) ] 
1923-         #[ doc = concat!( "assert_eq!(23_" ,  stringify!( $SelfT) ,  ".next_multiple_of (8), 24);" ) ] 
1924-         #[ doc = concat!( "assert_eq!(16_" ,  stringify!( $SelfT) ,  ".next_multiple_of (-8), 16);" ) ] 
1925-         #[ doc = concat!( "assert_eq!(23_" ,  stringify!( $SelfT) ,  ".next_multiple_of (-8), 16);" ) ] 
1926-         #[ doc = concat!( "assert_eq!((-16_" ,  stringify!( $SelfT) ,  ").next_multiple_of (8), -16);" ) ] 
1927-         #[ doc = concat!( "assert_eq!((-23_" ,  stringify!( $SelfT) ,  ").next_multiple_of (8), -16);" ) ] 
1928-         #[ doc = concat!( "assert_eq!((-16_" ,  stringify!( $SelfT) ,  ").next_multiple_of (-8), -16);" ) ] 
1929-         #[ doc = concat!( "assert_eq!((-23_" ,  stringify!( $SelfT) ,  ").next_multiple_of (-8), -24);" ) ] 
1922+ [ doc = concat!( "assert_eq!(16_" ,  stringify!( $SelfT) ,  ".unstable_next_multiple_of (8), 16);" ) ] 
1923+         #[ doc = concat!( "assert_eq!(23_" ,  stringify!( $SelfT) ,  ".unstable_next_multiple_of (8), 24);" ) ] 
1924+         #[ doc = concat!( "assert_eq!(16_" ,  stringify!( $SelfT) ,  ".unstable_next_multiple_of (-8), 16);" ) ] 
1925+         #[ doc = concat!( "assert_eq!(23_" ,  stringify!( $SelfT) ,  ".unstable_next_multiple_of (-8), 16);" ) ] 
1926+         #[ doc = concat!( "assert_eq!((-16_" ,  stringify!( $SelfT) ,  ").unstable_next_multiple_of (8), -16);" ) ] 
1927+         #[ doc = concat!( "assert_eq!((-23_" ,  stringify!( $SelfT) ,  ").unstable_next_multiple_of (8), -16);" ) ] 
1928+         #[ doc = concat!( "assert_eq!((-16_" ,  stringify!( $SelfT) ,  ").unstable_next_multiple_of (-8), -16);" ) ] 
1929+         #[ doc = concat!( "assert_eq!((-23_" ,  stringify!( $SelfT) ,  ").unstable_next_multiple_of (-8), -24);" ) ] 
19301930        /// ``` 
19311931[ unstable( feature = "int_roundings" ,  issue = "88581" ) ] 
19321932        #[ must_use = "this returns the result of the operation, \  
19331933] 
19341934        #[ inline] 
19351935        #[ rustc_inherit_overflow_checks] 
1936-         pub  const  fn  next_multiple_of ( self ,  rhs:  Self )  -> Self  { 
1936+         pub  const  fn  unstable_next_multiple_of ( self ,  rhs:  Self )  -> Self  { 
19371937            // This would otherwise fail when calculating `r` when self == T::MIN. 
19381938            if  rhs == -1  { 
19391939                return  self ; 
0 commit comments