rithm 14.8.0

Arbitrary precision arithmetic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use traiter::numbers::One;

use super::types::Fraction;

impl<Component: One> From<Component> for Fraction<Component> {
    fn from(value: Component) -> Self {
        Self {
            numerator: value,
            denominator: Component::one(),
        }
    }
}