Skip to main content

BigRational

Type Alias BigRational 

Source
pub type BigRational = Ratio<BigInt>;
Expand description

Alias for arbitrary precision rationals.

Aliased Type§

pub struct BigRational { /* private fields */ }

Trait Implementations§

Source§

impl ExactF64Conversion for BigRational

Source§

type Output = f64

Finite binary64 output produced by the conversion.
Source§

fn try_to_f64(&self) -> Result<Self::Output, LaError>

Convert only when every exact value already has an exact finite binary64 representation. Read more
Source§

fn to_rounded_f64(&self) -> Result<Self::Output, LaError>

Round the exact value to finite binary64 output. Read more