Cppcheck
|
Go to the source code of this file.
Functions | |
template<class T > | |
bool | isEqual (T x, T y) |
bool | isEqual (double x, double y) |
bool | isEqual (float x, float y) |
template<class T > | |
bool | isZero (T x) |
template<class R , class T > | |
R | calculate (const std::string &s, const T &x, const T &y, bool *error=nullptr) |
template<class T > | |
T | calculate (const std::string &s, const T &x, const T &y, bool *error=nullptr) |
R calculate | ( | const std::string & | s, |
const T & | x, | ||
const T & | y, | ||
bool * | error = nullptr |
||
) |
Definition at line 50 of file calculate.h.
References MathLib::encodeMultiChar(), error, isEqual(), and isZero().
Referenced by evaluate(), infer(), and setTokenValue().
T calculate | ( | const std::string & | s, |
const T & | x, | ||
const T & | y, | ||
bool * | error = nullptr |
||
) |
Definition at line 122 of file calculate.h.
References error.
|
inline |
Definition at line 33 of file calculate.h.
|
inline |
Definition at line 38 of file calculate.h.
References isEqual().
bool isEqual | ( | T | x, |
T | y | ||
) |
Definition at line 28 of file calculate.h.
Referenced by calculate(), compareTokenRanges(), isEqual(), isZero(), and ProgramMemory::setContainerSizeValue().
bool isZero | ( | T | x | ) |
Definition at line 44 of file calculate.h.
References isEqual().
Referenced by calculate(), and isZeroBoundCond().