Skip to content

Instantly share code, notes, and snippets.

@ivant
Created April 9, 2015 07:59
Show Gist options
  • Save ivant/a426c93d8cbf7229cd54 to your computer and use it in GitHub Desktop.
Save ivant/a426c93d8cbf7229cd54 to your computer and use it in GitHub Desktop.
f(f(x)) == -x
int32_t f(int32_t x) {
return x + 0x7fffffff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment