Skip to content

Instantly share code, notes, and snippets.

@droid001
Last active January 4, 2016 12:06
Show Gist options
  • Save droid001/aeaf8f77d6375f95abd9 to your computer and use it in GitHub Desktop.
Save droid001/aeaf8f77d6375f95abd9 to your computer and use it in GitHub Desktop.
float to integer conversion
// found at http://ejohn.org/blog/asmjs-javascript-compile-target/
let integer_variable = float_variable | 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment