From 05418890ca8342326f6d8ee2e213f9686538ee6f Mon Sep 17 00:00:00 2001 From: gmpreussner Date: Thu, 17 Mar 2016 23:03:20 -0400 Subject: [PATCH] Setting TAU to 2 * PI --- lib/pure/math.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/math.nim b/lib/pure/math.nim index f63e8c1e5..84c8d3b11 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -44,7 +44,7 @@ when not defined(js) and not defined(nimscript): const PI* = 3.1415926535897932384626433 ## the circle constant PI (Ludolph's number) - TAU* = 6.2831853071795864769252868 ## the circle constant TAU (= 2 * PI) + TAU* = 2.0 * PI ## the circle constant TAU (= 2 * PI) E* = 2.71828182845904523536028747 ## Euler's number MaxFloat64Precision* = 16 ## maximum number of meaningful digits