Setting TAU to 2 * PI

This commit is contained in:
gmpreussner
2016-03-17 23:03:20 -04:00
parent 2744b80324
commit 05418890ca

View File

@@ -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