Skip to content

Instantly share code, notes, and snippets.

@bzztbomb
Created October 19, 2012 22:22
Show Gist options
  • Select an option

  • Save bzztbomb/3921043 to your computer and use it in GitHub Desktop.

Select an option

Save bzztbomb/3921043 to your computer and use it in GitHub Desktop.
int m_rand()
{
static int a = 6101;
static int b = 997;
static int c = 5583;
int t = a + b + c;
a = b;
b = c;
c = t;
return t;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment