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.

数据拷贝

我在.cmd文件中定义了一个数组DATA  AD[XX][XX],用来存放AD芯片采样的数据,在程序中进行运行时我需要将数据拷贝到 float ad[xx][xx]数组中,想问下这样会丢失精度么?反过来将float ad[xx][xx]拷贝到 DATA AD[XX][XX]中又会怎样?因为许多库函使用时数都需要DATA 型数组