From a520177183157a8d85fd07a00da1339602bff43b Mon Sep 17 00:00:00 2001 From: electria Date: Mon, 19 Oct 2026 17:46:02 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20parse=20unicode=20pi,=20=CF=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/nodes/parse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodes/parse.rs b/src/nodes/parse.rs index ec44b3f..f4375f5 100644 --- a/src/nodes/parse.rs +++ b/src/nodes/parse.rs @@ -10,7 +10,7 @@ impl Node { Ok(match s { "c" => Self::from(299_792_458), "A" => Self::from(6.02214076e23), - "pi" => Self::from(f64::consts::PI), + "pi" | "π" => Self::from(f64::consts::PI), // Planck's constant, in J*s (joule-seconds) "h" => Self::from(6.62607015e-34), "e" => Self::from(f64::consts::E),