Created
January 17, 2014 19:21
-
-
Save tmcw/8479674 to your computer and use it in GitHub Desktop.
Gist from mistakes.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var view = new DataView(new ArrayBuffer(4)); | |
view.setFloat32(0, 0.5); | |
view.getInt32(0).toString(2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment