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

Add floatmin and floatmax #477

Closed
wants to merge 2 commits into from

Conversation

dlfivefifty
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2021

Codecov Report

Merging #477 (055d231) into master (a3dc27f) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #477      +/-   ##
==========================================
- Coverage   91.55%   91.44%   -0.11%     
==========================================
  Files          25       25              
  Lines        1752     1754       +2     
==========================================
  Hits         1604     1604              
- Misses        148      150       +2     
Impacted Files Coverage Δ
src/IntervalArithmetic.jl 100.00% <ø> (ø)
src/intervals/arithmetic.jl 96.42% <0.00%> (-0.78%) ⬇️

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 a3dc27f...055d231. Read the comment docs.

@dpsanders
Copy link
Member

What's the use case for this?

@dpsanders
Copy link
Member

Currently there's

julia> @interval(Inf)
[1.79769e+308, ∞]

(Note that in general we now prefer using interval(a, b) instead of @interval(a, b) since the former is much faster. However, infinity is a special case.

@dlfivefifty
Copy link
Contributor Author

I use it in the convergence check in the adaptive QR implemented in InfiniteLinearAlgebra.jl

@lucaferranti
Copy link
Member

julia> @interval(Inf)
[1.79769e+308, ∞]

that's not the case anymore on master, it has been changed in #461

@OlivierHnt OlivierHnt closed this 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

Successfully merging this pull request may close these issues.

5 participants