Trait factorial::DoubleFactorial
source · pub trait DoubleFactorial<Target = Self> {
// Required method
fn checked_double_factorial(&self) -> Option<Target>;
// Provided method
fn double_factorial(&self) -> Target { ... }
}
Expand description
Unary operator for computing the double factorial of a number
Implements checked and unchecked versions of the formula