# US 2021/0175899 A1 · Error-bound floating point data compression system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0175899 A1
- Document ID: US20210175899A1
- Status: Published application
- Kind: A1
- Application number: 16/707,582
- Filed: 2019-12-09
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Martin Rupp
- Web page: https://patentgrep.com/patent/US20210175899A1

## CPC

- G06F 7/483: Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers {(G06F7/4806, G06F7/4824, G06F7/49, G06F7/491, G06F7/544 take precedence)}
- G06F 7/499: Denomination or exception handling, e.g. rounding or overflow
- G06F 7/49947: {Rounding}
- H03M 7/24: Conversion to or from floating-point codes
- H03M 7/30: Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A system includes reception of a plurality of original floating point values, rounding of each of the plurality of original floating point values to a respective rounded floating point value, where each rounded floating point value is within an error bound of its respective original floating point value, compression of the plurality of rounded floating point values, and storage of the plurality of compressed rounded floating point values in the data storage system.

## Claims

### Claim 1

A system comprising:
a memory storing processor-executable program code; and
a processing unit to execute the processor-executable program code in order to cause the system to:
receive a plurality of original floating point values;
round each of the plurality of original floating point values to a respective rounded floating point value, where each rounded floating point value is within a prespecified error bound of its respective original floating point value; and
compress the plurality of rounded floating point values.

### Claim 2 (depends on 1)

A system according to claim 1, wherein rounding of each of the plurality of original floating point values to a respective rounded floating point value comprises:
rounding of each of the plurality of original floating point values to a respective first rounded floating point value having a first number of decimal places;
determination of whether each first rounded floating point value is within a prespecified error bound of its respective original floating point value; and
if it is determined that each first rounded floating point value is not within the prespecified error bound of its respective original floating point value, rounding of each of the plurality of original floating point values to a respective second rounded floating point value having a second number of decimal places, and determination of whether each second rounded floating point value is within the prespecified error bound of its respective original floating point value.

### Claim 3 (depends on 1)

A system according to claim 1, wherein compression of the plurality of rounded floating point values comprises:
conversion of each of the plurality of rounded floating point values to an integer value; and
performance of integer compression on the plurality of integer values.

### Claim 4 (depends on 1)

A system according to claim 1, wherein compression of the plurality of rounded floating point values comprises:
performance of adaptive piecewise compression on the plurality of rounded floating point values.

### Claim 5 (depends on 1)

A system according to claim 1, the processing unit to execute the processor-executable program code in order to cause the system to:
modify one or more of the plurality of rounded floating point values based on a sum of the plurality of original floating point values, where each of the modified one or more of the plurality of rounded floating point values is within the prespecified error bound of its respective original floating point value.

### Claim 6 (depends on 5)

A system according to claim 5, the processing unit to execute the processor-executable program code in order to cause the system to:
modify one of the plurality of rounded floating point values so that a sum of the plurality of original floating point values is equal to a sum of the modified one or more of the plurality of rounded floating point values, the modified one of the plurality of rounded floating point values and any unmodified ones of the plurality of rounded floating point values.

### Claim 7 (depends on 6)

A system according to claim 6, wherein a number of bits of the modified one of the plurality of rounded floating point values is greater than a number of bits of each of the modified one or more of the plurality of rounded floating point values and any unmodified ones of the plurality of rounded floating point values.

### Claim 8

A computer-implemented method, comprising:
receiving a plurality of original floating point values;
receiving an error bound;
rounding each of the plurality of original floating point values to a respective rounded floating point value, where each rounded floating point value is within the error bound of its respective original floating point value; and
storing the plurality of rounded floating point values in a compressed format.

### Claim 9 (depends on 8)

A method according to claim 8, wherein rounding of each of the plurality of original floating point values to a respective rounded floating point value comprises:
rounding each of the plurality of original floating point values to a respective first rounded floating point value having a first number of decimal places;
determining whether each first rounded floating point value is within a prespecified error bound of its respective original floating point value; and
if it is determined that each first rounded floating point value is not within the prespecified error bound of its respective original floating point value, rounding each of the plurality of original floating point values to a respective second rounded floating point value having a second number of decimal places, and determining whether each second rounded floating point value is within the prespecified error bound of its respective original floating point value.

### Claim 10 (depends on 8)

A method according to claim 8, wherein storing comprises:
converting each of the plurality of rounded floating point values to an integer value; and
performing integer compression on the plurality of integer values.

### Claim 11 (depends on 8)

A method according to claim 8, wherein storing comprises:
performing of adaptive piecewise compression on the plurality of rounded floating point values.

### Claim 12 (depends on 8)

A method according to claim 8, further comprising:
modifying one or more of the plurality of rounded floating point values based on a sum of the plurality of original floating point values, where each of the modified one or more of the plurality of rounded floating point values is within the prespecified error bound of its respective original floating point value.

### Claim 13 (depends on 12)

A method according to claim 12, further comprising:
modifying one of the plurality of rounded floating point values so that a sum of the plurality of original floating point values is equal to a sum of the modified one or more of the plurality of rounded floating point values, the modified one of the plurality of rounded floating point values and any unmodified ones of the plurality of rounded floating point values.

### Claim 14 (depends on 13)

A method according to claim 13, wherein a number of bits of the modified one of the plurality of rounded floating point values is greater than a number of bits of each of the modified one or more of the plurality of rounded floating point values and any unmodified ones of the plurality of rounded floating point values.

### Claim 15

A system comprising:
a database server; and
a data storage system,
wherein the database server is to:
receive an instruction to store a plurality of original floating point values within an error bound;
in response to the instruction, round each of the plurality of original floating point values to a respective rounded floating point value, where each rounded floating point value is within the error bound of its respective original floating point value;
compress the plurality of rounded floating point values; and
storing the plurality of compressed rounded floating point values in the data storage system.

### Claim 16 (depends on 15)

A system according to claim 15, wherein rounding of each of the plurality of original floating point values to a respective rounded floating point value comprises:
rounding of each of the plurality of original floating point values to a respective first rounded floating point value having a first number of decimal places;
determination of whether each first rounded floating point value is within a prespecified error bound of its respective original floating point value; and
if it is determined that each first rounded floating point value is not within the prespecified error bound of its respective original floating point value, rounding of each of the plurality of original floating point values to a respective second rounded floating point value having a second number of decimal places, and determination of whether each second rounded floating point value is within the prespecified error bound of its respective original floating point value.

### Claim 17 (depends on 15)

A system according to claim 15, wherein compression of the plurality of rounded floating point values comprises:
conversion of each of the plurality of rounded floating point values to an integer value; and
performance of integer compression on the plurality of integer values.

### Claim 18 (depends on 15)

A system according to claim 15, wherein compression of the plurality of rounded floating point values comprises:
performance of adaptive piecewise compression on the plurality of rounded floating point values.

### Claim 19 (depends on 15)

A system according to claim 15, the database server to:
modify one or more of the plurality of rounded floating point values based on a sum of the plurality of original floating point values, where each of the modified one or more of the plurality of rounded floating point values is within the prespecified error bound of its respective original floating point value.

### Claim 20 (depends on 19)

A system according to claim 19, the database server to:
modify one of the plurality of rounded floating point values so that a sum of the plurality of original floating point values is equal to a sum of the modified one or more of the plurality of rounded floating point values, the modified one of the plurality of rounded floating point values and any unmodified ones of the plurality of rounded floating point values.
