A little mirror class for introspecting the bit-patterns of JS numbers using typed arrays.
Example:
Math.PI.introspect().mantissa; // "1001001000011111101101010100010001000010110100011000"
Math.E.introspect().exponent; // "10000000000"
(9.0).introspect().toBitString(); // "0100000000100010000000000000000000000000000000000000000000000000"
(-Math.PI).introspect().negative; // true
Interactively explore at http://dherman.github.com/float.js.
Copyright © 2012 Dave Herman
Licensed under the MIT License.