Skip to content

math: add Tau in constants #40662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

math: add Tau in constants #40662

wants to merge 1 commit into from

Conversation

njourdane
Copy link

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 * radius

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added the cla: no Used by googlebot to label PRs as having an invalid CLA. The text of this label should not change. label Aug 10, 2020
@Goutte
Copy link

Goutte commented Aug 10, 2020

Thanks so much for this !

I've been missing it since the beginning, but I was too lazy to do it myself.

As I stated before, TAU is the circle constant, and PI the disk constant.

When civilizations make mistakes, the inertia is heavy.

@ALTree
Copy link
Member

ALTree commented Sep 8, 2020

The proposal was rejected (#40663) so I'm closing this PR.

@ALTree ALTree closed this Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: no Used by googlebot to label PRs as having an invalid CLA. The text of this label should not change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants