diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2016-03-18 17:40:40 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2016-03-18 17:40:40 +0000 |
commit | 8dade039d7c5342029e8baf8c6227e07977b428b (patch) | |
tree | d0b4b4d4d706c51f9d72559bcafb55cc8ea6a014 /lib | |
parent | 669917c72605283824c7bea2b13fa91fc494905b (diff) | |
parent | 05418890ca8342326f6d8ee2e213f9686538ee6f (diff) | |
download | Nim-8dade039d7c5342029e8baf8c6227e07977b428b.tar.gz |
Merge pull request #3976 from gmpreussner/devel
Added TAU constant.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/math.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim index b0104336e..84c8d3b11 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -44,6 +44,7 @@ when not defined(js) and not defined(nimscript): const PI* = 3.1415926535897932384626433 ## the circle constant PI (Ludolph's number) + TAU* = 2.0 * PI ## the circle constant TAU (= 2 * PI) E* = 2.71828182845904523536028747 ## Euler's number MaxFloat64Precision* = 16 ## maximum number of meaningful digits |