2009/3/11 Matthias Hopf
On Mar 11, 09 09:22:17 -0700, Yang Zhao wrote:
I think what we want is shifted two's complement, since the expected range is [-8, 8), which, with just 1 bit to the right of decimal point, gives [-8.0, 7.5] in 0.5 increments.
This seems to indeed be the correct input encoding; patch attached.
Yes, please, because in that case the description S3.1 would IMHO be wrong. Because it means 1 sign bit, and 3.1 value bits.
AFAIK there's no industry-wide accepted notation for describing fixed-point value, at least not for the Sx.y form. I thought I saw the notation explained in one of the earlier documentations, but I seem to have been imagining things. In any case, as long as the reference is consistent within itself, we should be OK. Cheers, -- Yang Zhao http://yangman.ca