JuliaMath / JuliaMath/IntervalSets.jl

Unbounded isapprox

Open
#132 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
109
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Currently, `isapprox` relative tolerance is based on the maximum of interval endpoints. This makes a lot of sense for finite intervals, but is kinda weird for infinities:
```julia
julia> (-1e10..Inf) ≈ (1e10..Inf)
true
```
Do you think this can be fixed/improved in a consistent manner?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.