SIMLIB/C++ 3.09
Loading...
Searching...
No Matches
random1.cc File Reference

Random number generators - basic. More...

#include "simlib.h"
#include "internal.h"
Include dependency graph for random1.cc:

Go to the source code of this file.

Namespaces

namespace  simlib3
 Implementation of class CalendarList
interface is static - using global functions in SQS namespace.

Typedefs

typedef long simlib3::myint32

Functions

void simlib3::RandomSeed (long seed)
double simlib3::Random ()
void simlib3::SetBaseRandomGenerator (double(*new_gen)())
double simlib3::SIMLIB_RandomBase ()

Variables

const myint32 simlib3::INICONST = 1537L
const myint32 simlib3::MULCONST = 1220703125L
const myint32 simlib3::MAXLONGINT = 0x7FFFFFFFUL
const myint32 simlib3::SIGNBIT = 0x80000000UL
static myint32 simlib3::SIMLIB_RandomSeed = INICONST
static double(*) simlib3::SIMLIB_RandomBasePtr () = SIMLIB_RandomBase

Detailed Description

Random number generators - basic.

Definition in file random1.cc.