how to configure "double" type into 64bits in compiler?
Subscribe
Hi,
I defined a var into "double" type, but I checked with sizeof(var) to see only 32bit width, instead of 64btis width, how should I to configure? thanks.
Hi,
The default mode is -double-size-32(double is 32 bits). This can be changed using -double-size-64 (double is 64 bits) switches select the storage format that the compiler uses for type double as below
Project > Properties > C/C++ Build > Settings > Tool Settings > CrossCore SHARC/Blackfin C/C++ Compiler > Processor > Double size to the required value.
Please refer the attached screen shots.
Regards,
Anand Selvaraj.
Please log in to reply.

