rust-num / num-traits

Numeric traits for generic mathematics in Rust
Apache License 2.0
731 stars 135 forks source link

Add the full circle constant τ (TAU) #145

Closed m-ou-se closed 4 years ago

m-ou-se commented 5 years ago

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.

cuviper commented 4 years ago

Thanks!

bors r+

bors[bot] commented 4 years ago

Build succeeded

stijnfrishert commented 4 years ago

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

cuviper commented 4 years ago

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

stijnfrishert commented 4 years ago

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