From 720a4da283cc80549a37f5b7777b1f82b1538584 Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Sun, 13 Dec 2020 15:53:38 +0100 Subject: [PATCH] Fixed constant rounding --- kalk/src/prelude.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kalk/src/prelude.rs b/kalk/src/prelude.rs index 93f3a04..e84e060 100644 --- a/kalk/src/prelude.rs +++ b/kalk/src/prelude.rs @@ -13,11 +13,11 @@ lazy_static! { let mut m = HashMap::new(); m.insert("pi", 3.14159265); m.insert("π", 3.14159265); - m.insert("e", 2.71828182); + m.insert("e", 2.71828183); m.insert("tau", 6.28318530); m.insert("τ", 6.28318530); - m.insert("phi", 1.61803398); - m.insert("ϕ", 1.61803398); + m.insert("phi", 1.61803399); + m.insert("ϕ", 1.61803399); m }; pub static ref UNARY_FUNCS: HashMap<&'static str, (UnaryFuncInfo, &'static str)> = {