multifactorials

Crates.iomultifactorials
lib.rsmultifactorials
version0.3.0
sourcesrc
created_at2022-03-12 16:09:17.244301
updated_at2022-06-11 18:49:05.563393
descriptionA Rust crate who allows you to use multi factorials
homepage
repository
max_upload_size
id548809
size4,535
Nicolas AMATI (ItsMeViipeR)

documentation

README

Multifactorials is a powerful mathematics tool who allows you to calculate factorials easily.

Installation

To use multifactorials, you need to add it to your dependencies like in the example bellow:

[package]
name = "my-beautiful-crate"
version = "0.1.0"

[dependencies]
multifactorials = "0.3.0"

Example

use multifactorials::Multifactorials;

fn main() {
    let simple_factorial = Multifactorials::simple(7.0);
    let complex_factorial = Multifactorials::complex(7.0, 2);
    
    println!("The result of 7! is {}", simple_factorial);
    println!("The result of 7!! is {}", complex_factorial);
}
Commit count: 0

cargo fmt