Cppcheck
|
#include "mathlib.h"
#include "errortypes.h"
#include "utils.h"
#include <cctype>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <exception>
#include <limits>
#include <locale>
#include <sstream>
#include <stdexcept>
#include <numeric>
#include <simplecpp.h>
Go to the source code of this file.
Functions | |
static double | myStod (const std::string &str, std::string::const_iterator from, std::string::const_iterator to, int base) |
static double | floatHexToDoubleNumber (const std::string &str) |
static bool | isValidIntegerSuffixIt (std::string::const_iterator it, std::string::const_iterator end, bool supportMicrosoftExtensions=true) |
static std::string | intsuffix (const std::string &first, const std::string &second) |
MathLib::value | operator+ (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator- (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator* (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator/ (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator% (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator& (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator| (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator^ (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator<< (const MathLib::value &v1, const MathLib::value &v2) |
MathLib::value | operator>> (const MathLib::value &v1, const MathLib::value &v2) |
|
static |
Definition at line 477 of file mathlib.cpp.
References myStod().
Referenced by MathLib::toDoubleNumber().
|
static |
Definition at line 1038 of file mathlib.cpp.
References MathLib::getSuffix().
Referenced by MathLib::add(), MathLib::calculate(), MathLib::divide(), MathLib::mod(), MathLib::multiply(), and MathLib::subtract().
|
static |
Definition at line 650 of file mathlib.cpp.
Referenced by MathLib::isBin(), MathLib::isDec(), MathLib::isIntHex(), MathLib::isOct(), and MathLib::isValidIntegerSuffix().
|
static |
Definition at line 441 of file mathlib.cpp.
Referenced by floatHexToDoubleNumber().