summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorgmpreussner <github@gerke-preussner.de>2016-03-17 23:03:20 -0400
committergmpreussner <github@gerke-preussner.de>2016-03-17 23:03:20 -0400
commit05418890ca8342326f6d8ee2e213f9686538ee6f (patch)
treea2760af4e3177bdcd13c76da2faf864999b2ab58 /lib/pure
parent2744b8032412837d43d4cc812c96b936f213d9eb (diff)
downloadNim-05418890ca8342326f6d8ee2e213f9686538ee6f.tar.gz
Setting TAU to 2 * PI
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/math.nim2
1 files changed, 1 insertions, 1 deletions
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