Skip to content

Inf operations return NaN #94

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

Closed
vincentcp opened this issue Feb 26, 2020 · 4 comments
Closed

Inf operations return NaN #94

vincentcp opened this issue Feb 26, 2020 · 4 comments

Comments

@vincentcp
Copy link

#86 was closed in which was mentioned that elementary operations involving Inf such as

>julia Double64(Inf)*2
Inf

are fixed. However,

>julia Double64(2)*Inf
NaN

still has some issues.

@vincentcp
Copy link
Author

And in the same line

julia> norm(rand(Double64,4,4),Double64(Inf))
NaN
julia> norm(rand(Double64,4,4),Inf)
NaN

@JeffreySarnoff
Copy link
Member

ok -- looking at this

@JeffreySarnoff
Copy link
Member

JeffreySarnoff commented Feb 29, 2020

Thank you for this note. The first part is fixed in master, pending merge.

@JeffreySarnoff
Copy link
Member

Both parts are fixed in master, pending merge. Please let me know if you encounter other issues.

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

No branches or pull requests

2 participants