24 n = s.substr(s.rfind(
"e")+1);
25 exp1 = atof(n.c_str());
28 n = s.substr(s.rfind(
"e")+1);
29 exp2 = atof(n.c_str());
32 if ((exp1 + 6) < exp2){
35 else if (exp1 > (exp2 + 6)) {
38 else if ((abs(a-b) / (b==0.0 ? 1.0 : abs(b))) < 0.00001) {
62 static std::string toString(T number) {
63 std::stringstream sstr;
64 sstr << std::scientific << number;