Reply by Jeff Brower January 19, 20092009-01-19
Cao Ting-

> How can I use double-precision (64-bit) IEEE floating-point
> data in my C program on C5509A?

The C55x Programmer's Guide says you can:

http://focus.ti.com/lit/ug/spru376a/spru376a.pdf

(pg 46). Note that the longest integer format supported is 40-bits ("long long").

> When I try "i = sizeof(double);"in my program, only get the
> i=2,which means the double type is 32bit.

Do you have large mem model selected? Maybe you don't have rts55x.lib included in your project? I'm not sure that
could cause it, but in general you might look for options and settings to support software-based floating-point.

-Jeff
Reply by caot...@gmail.com January 19, 20092009-01-19
How can I use double-precision (64-bit) IEEE floating-point data in my C program on C5509A?

When I try "i = sizeof(double);"in my program, only get the i=2,which means the double type is 32bit.