mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
Setting TAU to 2 * PI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user