Skip to content

FloatRange: add options that exclude each endpoint #1110

@ghost

Description

Thanks for developing this beautiful program.

At this time, FloatRange assumes that the passing argument value is always in closed interval [a, b], not open one. Sometimes, this may be harsh when the user want to accept a floating number exclude two endpoints, a and b. A user who uses IntRange can solve this problem fairly easily, but FloatRange cannot.

So, I think FloatRange should have the options which can exclude each endpoint. May I PR for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions