#include #include #include //#include //float fmodf(float x, float y); int random_setup = 0; int randGen(int min, int max) { if (random_setup == 0) { srandom(time(NULL)); random_setup = 1; } return random() % (max - min + 1) + min; } //int slothfloor(float x) { // return (int) (x - fabs(fmodf(x, (float) 1))); //}