MCPcopy Create free account
hub / github.com/Tencent/TscanCode / simplifyMathFunctions

Method simplifyMathFunctions

trunk/lib/tokenize.cpp:10334–10594  ·  view source on GitHub ↗

------------------------------------------------------ Simplify math functions. It simplifies following functions: atol(), abs(), fabs() labs(), llabs(), fmin(), fminl(), fminf(), fmax(), fmaxl() fmaxf(), isgreater(), isgreaterequal(), isless() islessgreater(), islessequal(), pow(), powf(), powl(), div(),ldiv(),lldiv(), cbrt(), cbrtl(), cbtrf(), sqrt(), sqrtf(), sqrtl(), exp(), expf(), expl(), exp

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

tokAtMethod · 0.80
deleteNextMethod · 0.80
strValueMethod · 0.80
emptyMethod · 0.80
deleteThisMethod · 0.80
toStringFunction · 0.70
strMethod · 0.45

Tested by

no test coverage detected