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.

[参考译文] CCS/MSP430I2041:半精度浮点数

Guru**** 2587365 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/836590/ccs-msp430i2041-half-precision-floats

器件型号:MSP430I2041

工具/软件:Code Composer Studio

是否有方法在 Code Composer Studio 中使用半精度浮点数据类型?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我不太熟悉半精度浮点、但我找到了一份较早的 TI 文档、讨论了它们。 此处供您参考。

    浮点格式

    用于 MSP430的浮点数学库

    一般而言、由于它们的开销、我不建议在 MSP430上使用任何浮点。 相反、我建议使用定点 IQmath 和 Qmath 库。  与使用浮点数学编写的等效代码相比、使用这些库可以显著提高执行速度并显著降低能耗。

    用于 MSP 的定点数学库(MSP-IQMATHLIB)

    此致、

    James