Skip to content

Instantly share code, notes, and snippets.

@spiculator
Created October 25, 2011 13:43
Show Gist options
  • Save spiculator/1312767 to your computer and use it in GitHub Desktop.
Save spiculator/1312767 to your computer and use it in GitHub Desktop.
power 10
int mypow10(int a)
{
int a2 = a * a;
int a4 = a2 * a2;
int a5 = a4 * a;
return a5 * a5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment