frac

Crates.iofrac
lib.rsfrac
version2.1.0
sourcesrc
created_at2021-09-20 21:41:06.193636
updated_at2021-10-12 20:07:25.03386
descriptionRational Number Data Type
homepagehttps://github.com/nekodjin/frac
repositoryhttps://github.com/nekodjin/frac
max_upload_size
id454162
size25,087
Avery R. (nekodjin)

documentation

README

frac

Fractional (rational) data type in Rust.

Example:

use frac::Frac;

fn main() {
    let f = Frac::new(3, 4) - Frac::new(5, 6);
    println!("{}", f); // -1/12
}

LICENSE: BSD 3-Clause

Current Version: 2.1.0

Contributors:

Links

Crates.io

Docs.rs

GitHub

Commit count: 36

cargo fmt