Skip to content

Export GLOBAL_RNG #18488

@nbecker

Description

@nbecker

http://docs.julialang.org/en/latest/stdlib/numbers/?highlight=rand#Base.rand refers to GLOBAL_RNG, but the value is not exported.

My use case is I write a random number generator (specialized for my use), and the underlying AbstractRNG is passed in to the constructor, with GLOBAL_RNG as the default value.

Shouldn't GLOBAL_RNG be exported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    randomnessRandom number generation and the Random stdlib

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions