This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Fixed point number format in C6748

Is the 32 bit and 64 bit fixed point number format in Excess-32 or Two complement: with 31st bit signed and 30....0 bits magnitude?

  • Hi Sherry,

    [quote user="Sherry says"] Is the 32 bit and 64 bit fixed point number format in Excess-32 or Two complement: with 31st bit signed and 30....0 bits magnitude? [/quote ]

    Please  visit :

  • Hi Shankari

    This document does not tell about fixed point handling of C67x. it only tabulates SP and DP floating point handling with 24 bit mantissa and 8 bit exponent.

  • Sherry,

    Our fixed-point format is Two's complement, which is not the same as "with 31st bit signed and 30....0 bits magnitude".

    There are numerous explanations of Two's complement on the web, from Wikipedia to Stackoverflow. They use a lot of different ways to explain the same thing. One of those descriptions should help you better than anything I could do other than cut-and-paste. But here is my quantitative method of explaining the format:

    0x00000001 = 1(decimal)
    0x00000000 = 0(decimal)
    0xFFFFFFFF = -1(decimal)

    Regards,
    RandyP