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

Use Infinities.jl for infinity #439

Closed
dpsanders opened this issue Feb 15, 2021 · 3 comments
Closed

Use Infinities.jl for infinity #439

dpsanders opened this issue Feb 15, 2021 · 3 comments

Comments

@dpsanders
Copy link
Member

https://github.com/JuliaMath/Infinities.jl/

@lucaferranti
Copy link
Member

lucaferranti commented May 27, 2021

Wouldn't this make handling types quite harder? What would be the type of say [1.0, ∞]? It could not be Interval[Float64} and it might be a little strange and prone to instability that the type of the interval depends on whether it's bounded or unbounded?

@dlfivefifty
Copy link
Contributor

No because you can automatically convert Infinities.∞ to Inf

@Kolaru
Copy link
Collaborator

Kolaru commented Jul 24, 2023

Discussed in triage, infinities in IA follow the prescription of the standard for what the floating point Inf means, which has no higher meaning.

For specific flavor, this idea could be brought back.

@Kolaru Kolaru closed this as completed Jul 24, 2023
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

4 participants