Skip to content

Specialize rotations by π #163

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 2 commits into from
Closed

Specialize rotations by π #163

wants to merge 2 commits into from

Conversation

timholy
Copy link
Member

@timholy timholy commented Oct 10, 2021

Since π is quite special when it comes to rotations,
and Julia goes to lengths to preserve it exactly,
we might as well exploit that here.

@codecov
Copy link

codecov bot commented Oct 10, 2021

Codecov Report

Merging #163 (1ddda27) into master (38b208b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   85.40%   85.41%   +0.01%     
==========================================
  Files          12       12              
  Lines        1261     1262       +1     
==========================================
+ Hits         1077     1078       +1     
  Misses        184      184              
Impacted Files Coverage Δ
src/core_types.jl 89.09% <100.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38b208b...1ddda27. Read the comment docs.

Copy link
Contributor

@andyferris andyferris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

I suspect the same could be done for RotX, RotY and RotZ.

@timholy
Copy link
Member Author

timholy commented Oct 11, 2021

Good idea. It seems that it may even be better to move this to a lower level of the hierarchy, see JuliaLang/julia#42595.

@timholy
Copy link
Member Author

timholy commented Oct 23, 2021

With JuliaLang/julia#42595 merged, I think we can safely close this.

@timholy timholy closed this Oct 23, 2021
@timholy timholy deleted the teh/rotbypi branch October 23, 2021 08:50
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.

2 participants