Skip to content

Instantly share code, notes, and snippets.

@xNWDD
Created December 1, 2016 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xNWDD/f45b0a1e9297762b4e08f4e57cc8f409 to your computer and use it in GitHub Desktop.
Save xNWDD/f45b0a1e9297762b4e08f4e57cc8f409 to your computer and use it in GitHub Desktop.
inline long long int powsign(long long int v){ return ((~(v & 0x1))<<1)+3; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment