Compare commits

..

2 commits

Author SHA1 Message Date
4473a91b0c Merge pull request 'bugfix: double precisionto 2048' (#1) from bugfix/evie/T156 into develop
Reviewed-on: #1
2025-03-10 20:13:45 -07:00
3f6c20dbfa
bugfix: double precisionto 2048
fixes #T156
2025-03-10 20:12:11 -07:00
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ use astro_float::{BigFloat, RoundingMode};
use once_cell::sync::Lazy;
use std::collections::BTreeMap;
pub const PRECISION: usize = 1024;
pub const PRECISION: usize = 2048;
// length unit -> value in meters
pub static LENGTH_STORE: Lazy<BTreeMap<LengthUnit, BigFloat>> = Lazy::new(|| {

View file

@ -15,7 +15,7 @@ use crate::length_units::{LengthUnit, LENGTH_NAMES, LENGTH_STORE, PRECISION};
use crate::unit_defs::{ConvertTo, MetricPrefix};
use astro_float::{BigFloat, Consts, Radix, RoundingMode};
pub const MAX_PRECISION: usize = 1024;
pub const MAX_PRECISION: usize = 2048;
pub mod length_units;
pub mod unit_defs;