pub trait CeilingAssign {
// Required method
fn ceiling_assign(&mut self);
}
Expand description
Replaces a number with its ceiling.
Replaces a number with its ceiling.
A number’s ceiling is the smallest integer greater than or equal to the number.
$x \gets \lceil x \rceil$.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.
Replaces a number with its ceiling.
A number’s ceiling is the smallest integer greater than or equal to the number.
$x \gets \lceil x \rceil$.
§Worst-case complexity
Constant time and additional memory.
§Examples
See here.