JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

math/rng

core-api


    cfunction
    src/core/math.c on line 120, column 1

    (math/rng &opt seed)

    Creates a Pseudo-Random number generator, with an optional seed. 
    The seed should be an unsigned 32 bit integer or a buffer. Do not 
    use this for cryptography. Returns a core/rng abstract type.


0 examplesSign in to add an example
Loading...