This paper presents a scheme for the representation and storage of numeric data. The implemention of this scheme within the ADAMS Database System solves the major problem of maintaining numeric data in a bitwise ordered form, while providing the additional benefits of simplicity, expandability, portability, and compactness. 1. The Problem There are many commonly employed formats for representing
... [Show full abstract] numeric data. The C language provides seperate types for the representation of integer and real data, and extends these float and int types to double and long in order to allow the language user access to a larger range of values and to a greater degree of precision. Another format involves simply storing numeric digits as characters (using, for example, ASCII or EBCDIC ) . This allows for a flexible degree of precision and magnitude, but is not efficient in terms of storage. Some systems rely on one format for in-memory manipulation, which we will call host format, and another for disk or tape storage, which we will call storage format.