rng

package
v0.0.0-...-b4b3d51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package rng provides routines to create random integers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int() int

Int returns a uniform random value in [0, 1 << INT_BITS - 1). It will panic if it cannot obtain enough random bytes from rand.Read.

func Uint64

func Uint64() uint64

Uint64 returns a uniform random value in [0, 1 << 64 - 1]. It will panic if it cannot obtain enough random bytes from rand.Read.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL