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 method for rem2pi #29

Merged
merged 1 commit into from Nov 24, 2018
Merged

Add method for rem2pi #29

merged 1 commit into from Nov 24, 2018

Conversation

giordano
Copy link
Member

Fix #27.

@giordano giordano mentioned this pull request Nov 23, 2018
test/runtests.jl Outdated
@@ -501,6 +501,10 @@ end
end
end
@test @inferred(mod2pi(pi*x)) ≈ measurement(pi, 0.1*pi)
for r in (RoundNearest, RoundToZero, RoundUp, RoundDown), a in (3x, 5y, 10w)
# @test @inferred(rem2pi(a, r)) ≈ rem(a, 2pi, r)
Copy link
Member Author

Choose a reason for hiding this comment

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

I have to fix a pesky ambiguity error with rem(x, y, ::RoundingMode) before merging this.

@codecov-io
Copy link

codecov-io commented Nov 23, 2018

Codecov Report

Merging #29 into master will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   89.41%   89.47%   +0.06%     
==========================================
  Files           8        8              
  Lines         510      513       +3     
==========================================
+ Hits          456      459       +3     
  Misses         54       54
Impacted Files Coverage Δ
src/math.jl 90.13% <100%> (+0.07%) ⬆️

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 2b4f6ae...6d28c99. Read the comment docs.

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.

None yet

2 participants