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

Fix Irrational and BigFloat comparisons #158

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

jmkuhn
Copy link
Contributor

@jmkuhn jmkuhn commented Mar 27, 2022

For Irrational comparisions ==, <=, >= we are using Base functions:
==(x::Real, y::AbstractIrrational) = false
<=(x::AbstractFloat, y::AbstractIrrational) = x < y
etc

Fixes #122

@codecov
Copy link

codecov bot commented Mar 27, 2022

Codecov Report

Merging #158 (61e28a3) into master (2be0437) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   90.80%   90.82%   +0.02%     
==========================================
  Files           1        1              
  Lines         435      436       +1     
==========================================
+ Hits          395      396       +1     
  Misses         40       40              
Impacted Files Coverage Δ
src/DecFP.jl 90.82% <100.00%> (+0.02%) ⬆️

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 2be0437...61e28a3. Read the comment docs.

src/DecFP.jl Show resolved Hide resolved
@stevengj stevengj merged commit bd6acd9 into JuliaMath:master Mar 28, 2022
@jmkuhn jmkuhn deleted the irrational branch March 28, 2022 11:44
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.

Comparison with Irrational
2 participants