michaeljclark / vf128

vf128 variable length floating-point
10 stars 0 forks source link

vf128: normalized value compression #3

Closed michaeljclark closed 3 years ago

michaeljclark commented 3 years ago

implement an exponent compression scheme for succinct coding of values between -0.99999.. to 0.99999.. excluding +/-0. the new scheme replaces the current integer coding that uses the zero exponent code with a new scheme that prepends exponent as a unary code prefix in the mantissa adding only several bits of information versus an entire extra byte.

Closes #2