include "test.idp" cout << functionDEFINITION << "strtod" << endl; real t; string text = "4.2"; string text2 = "-4.2"; real realnb = 4.2; t = clock(); real resnb = strtod(text); t = clock() - t; cout << timeELAPSED << t << endl; test(resnb == realnb); real realnb2 = -4.2; t = clock(); real resnb2 = strtod(text2); t = clock() - t; cout << timeELAPSED << t << endl; test(resnb2 == realnb2);