Skip to content
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

Add the full circle constant τ (TAU) #145

Merged
merged 3 commits into from
Dec 7, 2019

Conversation

m-ou-se
Copy link
Contributor

@m-ou-se m-ou-se commented Nov 26, 2019

Since it is not (yet?) added to the standard library, the value is included in the source here, instead of referring to a constant in core.

src/float.rs Outdated Show resolved Hide resolved
@cuviper
Copy link
Member

cuviper commented Dec 7, 2019

Thanks!

bors r+

bors bot added a commit that referenced this pull request Dec 7, 2019
145: Add the full circle constant τ (TAU) r=cuviper a=m-ou-se

Since it is not (yet?) added to the standard library, the value is included in the source here, instead of referring to a constant in `core`.

Co-authored-by: Mara Bos <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 7, 2019

Build succeeded

@bors bors bot merged commit 6e66f2d into rust-num:master Dec 7, 2019
@stijnfrishert
Copy link

I'd really like to make use of this. Is there a reason the latest version on crates.io is 2.1?

@cuviper
Copy link
Member

cuviper commented Feb 20, 2020

It was published in num-traits 0.2.11, and num 0.2.1 also requires that.

@stijnfrishert
Copy link

Ah, right. Missed that (apologies, pretty new to Rust 😊)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants