Skip to content

Commit

Permalink
simplified stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
pholme committed Jul 29, 2018
1 parent e3d4d93 commit c1f712a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcg_rnd.c
Expand Up @@ -48,7 +48,7 @@ uint32_t pcg_32 () {
g.state = g.state * 6364136223846793005ULL + 1442695040888963407ULL;
value = ((state >> 18u) ^ state) >> 27u;
rot = state >> 59u;
return (uint32_t) (value >> rot) | (value << ((- rot) & 31));
return (value >> rot) | (value << ((- rot) & 31));
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down

0 comments on commit c1f712a

Please sign in to comment.