Skip to content

Error in documentation for rand() #3890

Open
@ohyeaah

Description

@ohyeaah

In the notes section of rand() it says:

(max - min) <= getrandmax()

But must be

abs(max - min) <= getrandmax()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDocumentation contains incorrect information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions