JanetDocsPlaygroundI'm feeling luckyGitHub sign in

math/rng



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

    (math/rng &opt seed)

    Creates a Psuedo-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...