Hedgehog


Seed Module

Namespace: Hedgehog

Assembly: Hedgehog.dll

Functions and values

Function or value Description

from x

Full Usage: from x

Parameters:
    x : uint64

Returns: Seed

Create a new 'Seed'.

x : uint64
Returns: Seed

nextBigInt lo hi seed

Full Usage: nextBigInt lo hi seed

Parameters:
    lo : bigint
    hi : bigint
    seed : Seed

Returns: bigint * Seed

Generates a random bigint in the specified range.

lo : bigint
hi : bigint
seed : Seed
Returns: bigint * Seed

nextDouble lo hi seed

Full Usage: nextDouble lo hi seed

Parameters:
    lo : double
    hi : double
    seed : Seed

Returns: double * Seed

Generates a random double in the specified range.

lo : double
hi : double
seed : Seed
Returns: double * Seed

nextUInt64 seed

Full Usage: nextUInt64 seed

Parameters:
Returns: uint64 * Seed

Generates a random 'System.UInt64'.

seed : Seed
Returns: uint64 * Seed

random ()

Full Usage: random ()

Parameters:
    () : unit

Returns: Seed

Create a new random 'Seed'.

() : unit
Returns: Seed

range

Full Usage: range

Returns: int64 * int64

The possible range of values returned from 'next'.

Returns: int64 * int64

split seed

Full Usage: split seed

Parameters:
Returns: Seed * Seed

Splits a 'Seed' in to two.

seed : Seed
Returns: Seed * Seed