Skip to content

Fix overflow in Float --> Normed{T,f} conversions where f == 1 - #201

Merged
kimikage merged 1 commit into
JuliaMath:masterfrom
kimikage:issue200
Jul 21, 2020
Merged

Fix overflow in Float --> Normed{T,f} conversions where f == 1#201
kimikage merged 1 commit into
JuliaMath:masterfrom
kimikage:issue200

Conversation

@kimikage

@kimikage kimikage commented Jul 19, 2020

Copy link
Copy Markdown
Collaborator

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

codecov Bot commented Jul 19, 2020

Copy link
Copy Markdown

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