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.

[参考译文] TMS320F28075:TMU 平方根内在函数警告

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1208897/tms320f28075-tmu-square-root-intrinsic-warning

器件型号:TMS320F28075

您好,我想在项目中使用 SQRTF32 TMU 内在函数,但接收" 警告#225-D:函数"sqrt"声明为隐式" 编译期间的输出。  我遵循添加两个下划线并将指令更改为小写字母以在 C 语言中调用它的范式、如 __sqrtf32 (test)。 我在工程中的其他 TMU 内在函数(例如__cospuf32、__atan2puf32等)没有任何问题。 我正在使用编译器版本 TI v22.6.0.LTS 和 Code Composer 12.2.0.9。

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

    Benjamin、我会检查一下、很快就回复给您。

    谢谢。

    SIRA

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

    本杰明,它看起来像内在函数是__sqrt (),而不是_ sqrtf32 ()

    请参阅 spru514中的7.6.3

    谢谢。

    SIRA