Switched to exponential notation.
Added custom exception.
Added more packing functions.
Changed to use typemin and typemax.
Added implementation for int encoding.
Added note for missting unit tests.