Skip to content

roundup / down Irrational endpoints #33

Open
@dlfivefifty

Description

@dlfivefifty

I propose that a .. b should round a down and b up if they are irrational, so that a in a..b and b in a..b is always true. This would fix the following:

julia> π in 0..π
false

julia> π in (0..Float64(π, RoundUp))
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions