C166: DOUBLE PRECISION FLOATS TRUNCATED TO SINGLE PRECISION
Information in this article applies to:
I am trying to use double precision floating point numbers in my project and I have declared them using the 'double' keyword, however, the numbers are being truncated to single precision.
You must configure the compiler to enable double precision floating point numbers.
Use the FLOAT64 compiler directive to enable double precision floating point numbers.
In µVision choose 'Options for Target' from the Project menu and click on the C166 tab. Check the 'Double-precision Floating-point' item.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Friday, July 15, 2005
of your data.