Difference between revisions of "r7.1.0:Macro LFDS710 PRNG GENERATE"
Jump to navigation
Jump to search
(No difference)
|
Latest revision as of 18:17, 30 May 2016
Source Files
└───liblfds710 └───inc └───liblfds710 lfds710_prng.h
Opaque Structures
struct lfds710_prng_state;
Macro
#define LFDS710_PRNG_GENERATE( prng_state, random_value )
Parameters
prng_state
- A struct lfds710_prng_state. Not a pointer to it - the struct itself.
random_value.
- A lfds710_pal_uint_t. Not a pointer to it - the varible itself. It will be set by the macro.
Return Value
No return value.
Notes
The PRNG state is moved on to its next number, and that number is passed through the PRNG mixing function and then written into the argument random_value.
This is the generate macro for the lock-free PRNG variant.