for decoding of real number codes