Skip to content

Overflows in randomInt #9

@hdgarrood

Description

@hdgarrood

I would like to be able to ask for randomInt bottom top, but this isn't quite the range that ends up being used; toNumber ((high - low + one) + low) ends up being the same as toNumber bottom, so you end up getting any negative Int, rather than any Int, which is what I was hoping for.

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