Namespace: go.std.math.rand

v1.0

Contents

Summary

Provides a low-level interface to the math/rand package.

Package rand implements pseudo-random number generators unsuitable for
security-sensitive work.

Random numbers are generated by a Source. Top-level functions, such as
Float64 and Int, use a default shared Source that produces a deterministic
sequence of values each time a program is run. Use the Seed function to
initialize the default Source if different behavior is required for each run.
The default Source is safe for concurrent use by multiple goroutines, but
Sources created by NewSource are not.

This package's outputs might be easily predictable regardless of how it's
seeded. For random numbers suitable for security-sensitive work, see the
crypto/rand package.

Index

Legend

Constants

Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.

Variables

Functions, Macros, and Special Forms

Types