diff options
author | gmpreussner <github@gerke-preussner.de> | 2016-03-17 21:57:50 -0400 |
---|---|---|
committer | gmpreussner <github@gerke-preussner.de> | 2016-03-17 21:57:50 -0400 |
commit | fc1dedae7347043d3416d4f31a0ea5ae71288b58 (patch) | |
tree | 6305a5d966dc595a0d256f1a0c519c83d9f1175a /lib/pure | |
parent | 9920de0147ae082aa65da41b39b863a13ee011bc (diff) | |
download | Nim-fc1dedae7347043d3416d4f31a0ea5ae71288b58.tar.gz |
Added TAU constant.
Diffstat (limited to 'lib/pure')
-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..f63e8c1e5 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* = 6.2831853071795864769252868 ## the circle constant TAU (= 2 * PI) E* = 2.71828182845904523536028747 ## Euler's number MaxFloat64Precision* = 16 ## maximum number of meaningful digits |