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.

[参考译文] _code_access &sin __relaxed_sin

Guru**** 2589300 points
Other Parts Discussed in Thread: TMS320F28379D

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/972267/_code_access-sin-__relaxed_sin

主题中讨论的其他器件:TMS320F28379D4213

尊敬的团队:

器件是 TMS320F28379D。 在 math.h 中调用正弦和余弦函数时遇到的疑问:

#define sin __relaxed_sin
__inline double __relaxed_sin (double x)
{
return __sin (x);
}
#define cos __relaxed_cos
__inline double __relaxed_cos (double x)
{
return __cos (x);
} 

_code_access double cos (double x);

_code_access double sin (double x); 

它们之间有何差异?  

e2e.ti.com/.../4213.math.h

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

    Susan、不确定我是否理解了您的问题。 您是否在询问__relaxed_cos()与 cos()是什么? 我认为宽松的实施是指在 TMU 上实现更快但更不准确。

    谢谢、

    Sira

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

    谢谢!