Skip to content

Resolve "Incorrect WMC counting of single precisison cosF, sinF, tanF …"

Reason why this change is needed

The WMC tool doesn't recognize some of the float versions of mathematical functions such as sinf(), cosf(), log2f(), ... These functions shall be instrumented appropriately.

Description of the change

The WMC tool recognizes and instruments the f variants of math functions from math.h. There is no impact on the functionality (BE). Complexity and memory is slightly increased.

Edited by malenovsky

Merge request reports

Loading