pub trait CeilingSqrtAssign {
    fn ceiling_sqrt_assign(&mut self);
}
Expand description

Replaces a number with the ceiling of its square root.

Required Methods

Implementations on Foreign Types

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Replaces an integer with the ceiling of its square root.

$x \gets \lceil\sqrt{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if self is negative.

Examples

See here.

Implementors