Are both floats and doubles under C5000 both the same size and only 32bits?
Try this:
int x = sizeof( double );
when run, x == 2.
TIA
Steve
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.
Are both floats and doubles under C5000 both the same size and only 32bits?
Try this:
int x = sizeof( double );
when run, x == 2.
TIA
Steve
Yes. Also long double. (See Section 5.3 of TMS320C55x Optimizing C/C++ Compiler User's Guide (SPRU281)).
The C language standard does not dictate the sizes to be used for floating-point types or even that they be different.