rand

package
v0.0.0-...-8d8ec1c Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package rand - Fast Random 기능 제공 패키지

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Uint32

func Uint32() uint32

Uint32 - 램덤 값을 uint32로 반환

func Uint32n

func Uint32n(maxN uint32) uint32

Uint32n - 0 부터 지정한 수까지의 랜덤 값을 uint32로 반환

Types

type RNG

type RNG struct {
	// contains filtered or unexported fields
}

RNG - 랜덤 값 생성 구조

func (*RNG) Uint32

func (r *RNG) Uint32() uint32

Uint32 - 관리 중인 Random Seed 값을 기준으로 uint32 랜덤 값 생성

func (*RNG) Uint32n

func (r *RNG) Uint32n(maxN uint32) uint32

Uint32n - 관리 중인 Random Seed 값을 기준으로 0 부터 지정한 수까지의 uint32 랜덤 값 생성

Jump to

Keyboard shortcuts

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