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 inf and nan bugs #204

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Fix inf and nan bugs #204

merged 1 commit into from
Jun 27, 2024

Conversation

araujoms
Copy link
Contributor

@araujoms araujoms commented Jun 24, 2024

Fixes #199, fixes #201, fixes #203

I thought these bugs had been cause by my recent PR, so I felt I had the duty to fix them. It turns out only #199 was my fault, but since I investigated the other ones anyway I went ahead and fixed them.

It turned out that my PR had been complete nonsense, and it certainly had caused other bugs that went unnoticed, so this time I went through the code thoroughly to make everything consistent. The result might be a bit too intrusive for your taste.

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 71.87500% with 9 lines in your changes missing coverage. Please review.

Project coverage is 50.46%. Comparing base (9e9d5b3) to head (60e845c).

Files Patch % Lines
src/math/ops/op_fpdb_db.jl 37.50% 5 Missing ⚠️
src/math/ops/op_dbfp_db.jl 50.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #204      +/-   ##
==========================================
+ Coverage   50.42%   50.46%   +0.04%     
==========================================
  Files          63       63              
  Lines        3536     3537       +1     
==========================================
+ Hits         1783     1785       +2     
+ Misses       1753     1752       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JeffreySarnoff JeffreySarnoff merged commit 47c49f0 into JuliaMath:main Jun 27, 2024
7 checks passed
@JeffreySarnoff
Copy link
Member

JeffreySarnoff commented Jun 27, 2024 via email

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.

log1p(Double64(Inf)) returns nothing sqrt(NaN) Bug in *: Double64(Inf) * Double64(1) = NaN
2 participants