Patent ID: 8959130
Filing Date: 2015-02-17
Classification: G06F,G06T,H03M

Abstract:
1. A method for compressing a plurality of floating-point numbers, wherein each floating-point number includes an original number of bits in accordance with a floating-point format used in a data processing system, the floating-point format defining a sign bit to represent a sign, a plurality of exponent bits to represent an exponent and a plurality of mantissa bits to represent a mantissa, the method comprising: setting a code table in a memory of the data processing system, wherein the code table associates a set of exponent difference values with a set of corresponding exponent tokens; grouping the plurality of floating-point numbers into a sequence of encoding groups; compressing a maximum exponent of the encoding group to produce an exponent token for the encoding group, comprising: compressing the mantissas of the encoding group to produce mantissa tokens, comprising: encoding the signs of the encoding group to produce one or more sign tokens; and packing the exponent token, the mantissa tokens and the sign tokens for each encoding group of the sequence of encoding groups in a compressed data packet.