val 0.3.6

An arbitrary precision calculator language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Clone, Debug)]
pub struct Config {
  pub precision: usize,
  pub rounding_mode: astro_float::RoundingMode,
}

impl Default for Config {
  fn default() -> Self {
    Self {
      precision: 1024,
      rounding_mode: astro_float::RoundingMode::ToEven,
    }
  }
}