#include <nrnconf.h>
Go to the source code of this file.
|
| typedef unsigned long long | ub8 |
| |
| typedef unsigned int | ub4 |
| |
| typedef unsigned short int | ub2 |
| |
| typedef unsigned char | ub1 |
| |
◆ DBL32
| #define DBL32 (2.3283064365386962890625e-10) |
◆ DBL53
| #define DBL53 (1.1102230246251565404236316680908203125e-16) |
◆ DBL64
| #define DBL64 (5.42101086242752217003726400434970855712890625e-20) |
◆ isaac64_dbl32
| #define isaac64_dbl32 |
( |
|
rng | ) |
|
Value: (rng->randcnt > 0 ? (
DBL32 * (*(((
ub4*) (rng->randrsl)) + (rng->randcnt -= 1)))) \
DBL32 * (*(((
ub4*) (rng->randrsl)) + rng->randcnt))))
void isaac64_generate(struct isaac64_state *rng)
Definition at line 73 of file isaac64.h.
◆ isaac64_dbl53
| #define isaac64_dbl53 |
( |
|
rng | ) |
|
Value: (rng->randcnt > 1 \
? (
DBL53 * ((*((
ub8*) (((
ub4*) (rng->randrsl)) + (rng->randcnt -= 2)))) >> 11)) \
DBL64 * ((*((
ub8*) (((
ub4*) (rng->randrsl)) + rng->randcnt))) >> 11)))
Definition at line 79 of file isaac64.h.
◆ isaac64_dbl64
| #define isaac64_dbl64 |
( |
|
rng | ) |
|
Value: (rng->randcnt > 1 ? (
DBL64 * (*((
ub8*) (((
ub4*) (rng->randrsl)) + (rng->randcnt -= 2))))) \
DBL64 * (*((
ub8*) (((
ub4*) (rng->randrsl)) + rng->randcnt)))))
Definition at line 86 of file isaac64.h.
◆ isaac64_uint32
| #define isaac64_uint32 |
( |
|
rng | ) |
|
Value: (rng->randcnt > 0 ? (*(((
ub4*) (rng->randrsl)) + (rng->randcnt -= 1))) \
*(((
ub4*) (rng->randrsl)) + rng->randcnt)))
Definition at line 61 of file isaac64.h.
◆ isaac64_uint64
| #define isaac64_uint64 |
( |
|
rng | ) |
|
Value: (rng->randcnt > 1 ? (*((
ub8*) (((
ub4*) (rng->randrsl)) + (rng->randcnt -= 2)))) \
*((
ub8*) (((
ub4*) (rng->randrsl)) + rng->randcnt))))
Definition at line 67 of file isaac64.h.
◆ MSK53
| #define MSK53 0x001FFFFFFFFFFFFFLL |
◆ RANDMAX
◆ RANDSIZ
◆ RANDSIZL
| #define RANDSIZL (4) /* I recommend 8 for crypto, 4 for simulations */ |
◆ ub1
| typedef unsigned char ub1 |
◆ ub2
| typedef unsigned short int ub2 |
◆ ub4
◆ ub8
| typedef unsigned long long ub8 |
◆ isaac64_generate()
◆ isaac64_init()