From c4f8cad5146c8f2886a1854165891de014e8b897 Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Thu, 3 Dec 2015 13:44:56 +0100 Subject: [PATCH] =?UTF-8?q?Provide=20tau=20constant=20(also:=20=CF=84)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Tau Manifesto See also and A patch for S32 is also submitted, as is a spectest. --- src/core/Num.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/Num.pm b/src/core/Num.pm index d1ebfb82a94..a1fae8bb5db 100644 --- a/src/core/Num.pm +++ b/src/core/Num.pm @@ -234,10 +234,12 @@ my class Num does Real { # declared in BOOTSTRAP } } -my constant pi = 3.14159_26535_89793_238e0; -my constant e = 2.71828_18284_59045_235e0; +my constant tau = 6.28318_53071_79586_476e0; +my constant pi = 3.14159_26535_89793_238e0; +my constant e = 2.71828_18284_59045_235e0; my constant π := pi; +my constant τ := tau; #?if moar my constant 𝑒 := e; #?endif