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 overflow in Float --> Normed{T,f} conversions where f == 1 #201

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

kimikage
Copy link
Collaborator

@kimikage kimikage commented Jul 19, 2020

Fixes #200.

This fix definitely works on Intel CPUs, but ARM seems to have some other trouble.
The problem on ARM CPUs seems to be related to BigFloat instead of Float32/Float64 (cf. #202). Therefore, there seems to be no problem regarding conversion from Float32/Float64.

@codecov
Copy link

codecov bot commented Jul 19, 2020

Codecov Report

Merging #201 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
+ Coverage   89.30%   89.32%   +0.02%     
==========================================
  Files           6        6              
  Lines         458      459       +1     
==========================================
+ Hits          409      410       +1     
  Misses         49       49              
Impacted Files Coverage Δ
src/normed.jl 88.94% <100.00%> (+0.05%) ⬆️

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 3f12729...6158524. Read the comment docs.

@kimikage kimikage merged commit 2776bd8 into JuliaMath:master Jul 21, 2020
@kimikage kimikage deleted the issue200 branch July 21, 2020 21:28
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.

Overflow in N63f1(Float64(typemax(N63f1))) and so on
2 participants