Skip to content

Instantly share code, notes, and snippets.

@evanmiller
Created June 22, 2013 16:24
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 evanmiller/5841466 to your computer and use it in GitHub Desktop.
Save evanmiller/5841466 to your computer and use it in GitHub Desktop.
fold_down(Acc) when Acc bsr 16 > 0 ->
fold_down((Acc band 16#FFFF) + (Acc bsr 16));
fold_down(Acc) -> Acc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment