def _parse_float_vec(vec):
dtype = np.dtype('<STR_LIT>')<EOL>vec1 = vec.view(dtype=dtype)<EOL>xport1 = vec1['<STR_LIT>']<EOL>xport2 = vec1['<STR_LIT>']<EOL>ieee1 = xport1 & <NUM_LIT><EOL>shift = np.zeros(len(vec), dtype=np.uint8)<EOL>shift[np.where(xport1 & <NUM_LIT>)] = <NUM_LIT:1><EOL>shift[np.where(xport1 & <NUM_LIT>)] = <NUM_LIT:2><EOL>shift[np.where(xport1 & <NUM_LIT>)] = <NUM_LIT:3><EOL>ieee1 >>= shift<EOL>ieee2 = (xport2 >> shift) | ((xport1 & <NUM_LIT>) << (<NUM_LIT> + (<NUM_LIT:3> - shift)))<EOL>ieee1 &= <NUM_LIT><EOL>ieee1 |= ((((((xport1 >> <NUM_LIT>) & <NUM_LIT>) - <NUM_LIT>) << <NUM_LIT:2>) +<EOL>shift + <NUM_LIT>) << <NUM_LIT:20>) | (xport1 & <NUM_LIT>)<EOL>ieee = np.empty((len(ieee1),), dtype='<STR_LIT>')<EOL>ieee['<STR_LIT>'] = ieee1<EOL>ieee['<STR_LIT>'] = ieee2<EOL>ieee = ieee.view(dtype='<STR_LIT>')<EOL>ieee = ieee.astype('<STR_LIT>')<EOL>return ieee<EOL>
Parse a vector of float values representing IBM 8 byte floats into
native 8 byte floats.