include "test.idp" cout << functionDEFINITION << "atof" << endl; real t; cout << typeDEFINITION << "real" << endl; string stringnb = "4.2"; t = clock(); real realnb = atof(stringnb); t = clock() - t; cout << timeELAPSED << t << endl; test(realnb == 4.2); string stringnb3 = "abc4.2"; t = clock(); real realnb3 = atoi(stringnb3); t = clock() - t; cout << timeELAPSED << t << endl; test(realnb3 == 0);