Compare commits
No commits in common. "4473a91b0c21213f7814674cf215725f99267ccb" and "f096eb51344f702e40fddcd75a7fd498c865b1e2" have entirely different histories.
4473a91b0c
...
f096eb5134
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ use astro_float::{BigFloat, RoundingMode};
|
||||||
use once_cell::sync::Lazy;
|
use once_cell::sync::Lazy;
|
||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
|
|
||||||
pub const PRECISION: usize = 2048;
|
pub const PRECISION: usize = 1024;
|
||||||
|
|
||||||
// length unit -> value in meters
|
// length unit -> value in meters
|
||||||
pub static LENGTH_STORE: Lazy<BTreeMap<LengthUnit, BigFloat>> = Lazy::new(|| {
|
pub static LENGTH_STORE: Lazy<BTreeMap<LengthUnit, BigFloat>> = Lazy::new(|| {
|
||||||
|
|
|
@ -15,7 +15,7 @@ use crate::length_units::{LengthUnit, LENGTH_NAMES, LENGTH_STORE, PRECISION};
|
||||||
use crate::unit_defs::{ConvertTo, MetricPrefix};
|
use crate::unit_defs::{ConvertTo, MetricPrefix};
|
||||||
use astro_float::{BigFloat, Consts, Radix, RoundingMode};
|
use astro_float::{BigFloat, Consts, Radix, RoundingMode};
|
||||||
|
|
||||||
pub const MAX_PRECISION: usize = 2048;
|
pub const MAX_PRECISION: usize = 1024;
|
||||||
|
|
||||||
pub mod length_units;
|
pub mod length_units;
|
||||||
pub mod unit_defs;
|
pub mod unit_defs;
|
||||||
|
|
Reference in a new issue