
Go to the source code of this file.
Data Structures | |
| struct | rngen_ |
Typedefs | |
| typedef struct rngen_ | CrnStream |
Functions | |
| void | CrnInitStream (CrnStream *dest, unsigned int seed, int type) |
| int | CrnInt (CrnStream *) |
| double | CrnDouble (CrnStream *) |
| float | CrnFloat (CrnStream *) |
| void | CrnSrand (unsigned int) |
| int | CrnRand (void) |
| double | CrnDrand (void) |
Definition at line 68 of file random.c.
References _PARAMLIST, _prime_list, CrnDouble(), rngen_::multiplier, rngen_::prime, and rngen_::state.
Referenced by CrnInit(), CrnSrand(), and main().
Definition at line 106 of file random.c.
References rngen_::state.
Referenced by CrnDrand(), CrnFloat(), CrnInitStream(), CrnInt(), and randVal().
| float CrnFloat | ( | CrnStream * | ) |
| void CrnSrand | ( | unsigned | int | ) |
| int CrnRand | ( | void | ) |
Definition at line 128 of file random.c.
References CrnInt().
Referenced by AddEdges(), WSLB::AssembleStats(), NborBaseLB::AssembleStats(), CkCppInterpreter::CkCppInterpreter(), CldAckNoTaskHandler(), CldEnqueue(), CldHopHandler(), CldMoveAllSeedsAway(), CldNodeEnqueue(), RefinerApprox::create(), Refiner::create(), gengraph(), rep::POSE_Linear_rand(), rep::POSE_Uniform_rand(), and StealLoad().
| double CrnDrand | ( | void | ) |
1.5.5