-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Description
Add Tau in mathematical constants.
In many cases, formulas can be more elegant using the Tau constant instead
of Pi. You will find a good number of arguments and explanations
in the Tau manifesto, which describes Tau as:
the most important numbers in mathematics, perhaps the most important:
the circle constant relating the circumference of a circle to its linear
dimension. For millennia, the circle has been considered the most
perfect of shapes, and the circle constant captures the geometry of the
circle in a single number.
The constant is based on the corresponding page in the online
encyclopedia of integer sequences, and is also
equal to math.Pi * 2.
Usage:
perimeter := math.Tau * radiusI just created the PR #40662 that adds the constant, but I'm now creating this issue to have some feedback before signing the CLA.