pub trait CeilingRootAssign<POW> {
    fn ceiling_root_assign(&mut self, pow: POW);
}
Expand description

Replaces a number with the ceiling of its $n$th root.

Required Methods

Implementations on Foreign Types

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Replaces an integer with the ceiling of its $n$th root.

$x \gets \lceil\sqrt[n]{x}\rceil$.

Worst-case complexity

Constant time and additional memory.

Panics

Panics if exp is zero, or if self is negative and exp is even.

Examples

See here.

Implementors