It seems to me that compiler treat double as float type ? I find this from .SRC and .lst file. Both float and double calls ?C_FPCMP, ?C_FPMUL and ?C_FPDIV. thanks.
Daniel
It seems to me that compiler treat double as float type ?
That may well be so. Based on what wording in the compiler's documentation did you expect otherwise?
In page18 of <<C166 compiler user guide>>, it says double is 8 bytes and float is 4 bytes. They should be treated as different. But the generated assemble file .SRC still treat double as float.
"But the generated assemble file .SRC still treat double as float."
The fact that it calls the same functions doesn't necessarily mean that those functions don't somehow distinguish between the two types...
See the FLOAT64 compiler directive.