| 1246 | |
| 1247 | |
| 1248 | std::string MathLib::abs(const std::string &tok) |
| 1249 | { |
| 1250 | if (isNegative(tok)) |
| 1251 | return tok.substr(1, tok.length() - 1); |
| 1252 | return tok; |
| 1253 | } |
| 1254 | |
| 1255 | bool MathLib::isEqual(const std::string &first, const std::string &second) |
| 1256 | { |
nothing calls this directly
no test coverage detected