mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-01 17:41:17 +00:00
Added TAU constant.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user