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.

请问 MathLib 和 MathLib RTS 有什么不同?

Other Parts Discussed in Thread: MATHLIB

快速浮点库 c674xfastMath v3.0版本以后更名成了 MathLib

http://software-dl.ti.com/sdoemb/sdoemb_public_sw/mathlib/latest/index_FDS.html

MATHLIB contains optimized versions of most floating-point math routines currently provided in existing run-time-support libraries.

MATHLIB RTS override library contains floating-point math routines with same symbol names as in run-time-support library. These routines can be used to replace existing run-time-support library function calls.

从说明中并没看出两者有什么区别。但从Test Report中的数据来看,两者运行效率似乎不一样。应该怎么作选择?

  • MATHLIB的函数名和rts库里的函数名不同,是优化版。

    MATHLIB RTS的函数名跟rts库里的函数名相同,直接可以override.