rational 0.1.0

Minimalistic library for rational numbers
Documentation

A minimal library for representing rational numbers (ratios of integers).

Example

let one_half = Rational::new(1, 2);
let two_quarters = Rational::new(2, 4);
assert_eq!(one_half, two_quarters);