code: function toDouble( frac ) {
  	var sum = 0;
  	var i;
  	for ( i = 0; i < frac.length; i++ ) {
  		if ( frac[ i ] === '1' ) {
  			sum += pow( 2, -(i+1) );
  		}
  	}
  	return sum;
  }
docs: TO DOUBLE // 
  FUNCTION: toDouble( frac )
  Converts a double's fraction bit sequence to an integer value.
  
  @param {String} frac - literal bit representation of a double's fraction bit sequence
  @returns {Number} integer (floating-point)