include "test.idp" cout << functionDEFINITION << "lrint" << endl; real t; cout << typeDEFINITION << "real" << endl; real rpos = 0.5; real rneg = -0.5; real nanb = sqrt(-1); real toolong = 2e63; t = clock(); int respos = lrint(rpos); t = clock() - t; cout << timeELAPSED << t << endl; test(respos == 0); t = clock(); int resneg = lrint(rneg); t = clock() - t; cout << timeELAPSED << t << endl; test(resneg == -0);