From 5792bbcea91879249fe465e31811e695081f647f Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 1 Apr 2023 15:43:12 -0700 Subject: [PATCH] typo --- src/parser/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 8fae8d1..53d31e8 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -86,7 +86,7 @@ impl PreToken { // Mathematical constants // 100 digits of each. "π"|"pi" => { Token::Constant(Quantity::new_float_from_string("3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067"), String::from("π")) }, - "e" => { Token::Constant(Quantity::new_float_from_string("2.7182818284590452353602874713526624977572470936999595749669676277240766303535475945713 8217852516642"), String::from("e")) }, + "e" => { Token::Constant(Quantity::new_float_from_string("2.718281828459045235360287471352662497757247093699959574966967627724076630353547594571382178525166427"), String::from("e")) }, "phi"|"φ" => { Token::Constant(Quantity::new_float_from_string("1.618033988749894848204586834365638117720309179805762862135448622705260462818902449707207204189391137"), String::from("φ")) }, _ => { return Err((l, ParserError::Undefined(s))); }