Commit b17acc2e authored by Cyril SIX's avatar Cyril SIX
Browse files

MPPA - Forgot to uncomment debugging section of prng test

parent 3997c0bc
......@@ -9,13 +9,11 @@
static uint64_t current;
void srand(uint64_t seed){
//seed = current;
current=100;
seed = current;
}
uint64_t randlong(void){
//return (current = MULTIPLIER * current + INCREMENT);
return current--;
return (current = MULTIPLIER * current + INCREMENT);
}
#ifdef __UNIT_TEST_PRNG__
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment