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.

C5535 double变量的范围是多少?

Other Parts Discussed in Thread: TMS320C5535, TMDSLCDK6748

用TMS320C5535 eZdsp USB Kit尝试移植一个之前在stm32上做的工程,编译之后提示“floating constant is out of range”,如图:

我尝试了一下最大范围只能支持到1e38。我印象中对于float类型,最大范围是+-3.4e38,double类型远大于这个范围啊。

我最开始是怀疑是我的memory model设置问题(默认设置是large),尝试着改为huge,但是结果仍然是超出范围。

想请教一下,是因为C5000系列是定点的dsp所以double类型的范围只能支持到这么大,还是说我的memory model没改对???