Format - floating point value

Floating point values are stored as a series of digitized fixed point values in the Kate bitstream format. Several distinct streams of floating point values may be saved at the same time. A stream has a constant format (number of bits saved per value). Streams may be merged together (eg, merging 2 streams of V values yields a single stream of 2*V values).

When loading N streams, the bitstream format is as follows:

If the streams to load are merged, the different streams are stored as a single stream, and N is 1.

Then, for each stream:

Then, for each value:

Each number may then be reconstructed by concatenating the given number of high zero bits (`head'), the middle bits, the given number of low zero bits (`tail'), and negating the number if the sign bit was 1.
Generated on Mon Jul 7 19:59:24 2008 for libkate by  doxygen 1.5.4