SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "xbt/RngStream.h"
#include "xbt/sysdep.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Macros | |
#define | norm 2.328306549295727688e-10 |
#define | m1 4294967087.0 |
#define | m2 4294944443.0 |
#define | a12 1403580.0 |
#define | a13n 810728.0 |
#define | a21 527612.0 |
#define | a23n 1370589.0 |
#define | two17 131072.0 |
#define | two53 9007199254740992.0 |
#define | fact 5.9604644775390625e-8 /* 1 / 2^24 */ |
Variables | |
static double | nextSeed [6] = { 12345, 12345, 12345, 12345, 12345, 12345 } |
static double | InvA1 [3][3] |
static double | InvA2 [3][3] |
static double | A1p0 [3][3] |
static double | A2p0 [3][3] |
static double | A1p76 [3][3] |
static double | A2p76 [3][3] |
static double | A1p127 [3][3] |
static double | A2p127 [3][3] |
#define norm 2.328306549295727688e-10 |
#define m1 4294967087.0 |
#define m2 4294944443.0 |
#define a12 1403580.0 |
#define a13n 810728.0 |
#define a21 527612.0 |
#define a23n 1370589.0 |
#define two17 131072.0 |
#define two53 9007199254740992.0 |
#define fact 5.9604644775390625e-8 /* 1 / 2^24 */ |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
RngStream RngStream_CreateStream | ( | const char | name[] | ) |
int RngStream_SetPackageSeed | ( | unsigned long | seed[6] | ) |
int RngStream_SetSeed | ( | RngStream | g, |
unsigned long | seed[6] | ||
) |
double RngStream_RandU01 | ( | RngStream | g | ) |
int RngStream_RandInt | ( | RngStream | g, |
int | i, | ||
int | j | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |