Skip to content

Recoverable random in infinite range #120

@oscbyspro

Description

@oscbyspro

The range-based BinaryInteger.random(...) functions trap infinite ranges. It would be better to return nil. The current functions should be rewritten as unchecked conveniences with appropriate generic constraints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    additionoh, so shiny!brrrsuch code, much wowmaybeto do, or not to do?

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions