Skip to content

Implement sin_cos method for float, f64 and f32 - #6549

Closed
brendanzab wants to merge 1 commit into
rust-lang:incomingfrom
brendanzab:numeric-traits
Closed

Implement sin_cos method for float, f64 and f32#6549
brendanzab wants to merge 1 commit into
rust-lang:incomingfrom
brendanzab:numeric-traits

Conversation

@brendanzab

Copy link
Copy Markdown
Contributor

As discussed on issue #4819. This is a naive implementation, trusting LLVM to do the relevant optimizations. In the future this could be implemented more efficiently, but it's a start.

bors added a commit that referenced this pull request May 17, 2013
As discussed on issue #4819. This is a naive implementation, trusting LLVM to do the relevant optimizations. In the future this could be implemented more efficiently, but it's a start.
@borsbors closed this May 17, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 30, 2021
…nsch
Fix FP with empty return for `needless_return` lint
This fixes a false positive in `needless_return` lint, when triggered in a closure using `return` statement without value.
Fixes: rust-lang#6501
changelog: none
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 30, 2021
Add test for `needless_return` lint
Just a follow up of rust-lang#6549 that adds a test for this lint.
changelog: none
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6960: Show enum variant on Self qualified paths r=matklad a=Veykril
Fixes first part of rust-lang#6549Fixesrust-lang#6550
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
7616: Show `Self` pattern and Self-prefixed enum-variant completions r=Veykril a=Veykril
![jDfQXNE0qZ](https://user-images.githubusercontent.com/3757771/107413514-1ff99b00-6b11-11eb-88b3-126cd106b514.gif)
![JpogVIgloq](https://user-images.githubusercontent.com/3757771/107413519-212ac800-6b11-11eb-8282-51115468dccc.gif)
Variant pattern completions are to be done still.
Closesrust-lang#6549, at least that should address all that's left from that issue from what I can see.
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Sign up for freeto 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

@brendanzab@thestinger@bors