code: func IeeeFloatToInt(b [10]byte) int {
  	var i uint32
  	// Negative number
  	if (b[0] & 0x80) == 1 {
  		return 0
  	}
  
  	// Less than 1
  	if b[0] <= 0x3F {
  		return 1
  	}
  
  	// Too big
  	if b[0] > 0x40 {
  		return 67108864
  	}
  
  	// Still too big
  	if b[0] == 0x40 && b[1] > 0x1C {
  		return 800000000
  	}
  
  	i = (uint32(b[2]) << 23) | (uint32(b[3]) << 15) | (uint32(b[4]) << 7) | (uint32(b[5]) >> 1)
  	i >>= (29 - uint32(b[1]))
  
  	return int(i)
  }
docs: // IeeeFloatToInt converts a 10 byte IEEE float into an int.