JuliaMath / JuliaMath/IntervalSets.jl

Should eltype(1..2) be Float64? (currently it is Int)

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

Description

It seems quite strange to me that `eltype(1..2)` is `Int` because the elements in the mathematical set [1,2] are real numbers, and real numbers are usually represented by `Float64`.

Happy to make a PR if people support this.

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.