include/SDL_test_random.h
changeset 6711 e6355923901d
parent 6699 f5c53e855de7
child 6713 fa17a97389ed
     1.1 --- a/include/SDL_test_random.h	Tue Nov 27 09:19:09 2012 -0800
     1.2 +++ b/include/SDL_test_random.h	Tue Nov 27 21:40:46 2012 -0800
     1.3 @@ -54,11 +54,9 @@
     1.4  /* ------- Definitions ------- */
     1.5  
     1.6  /*
     1.7 - * Macros that return random number in a specific format.
     1.8 - * Float values are in the range [0.0-1.0].
     1.9 + * Macros that return a random number in a specific format.
    1.10   */
    1.11 -#define SDL_TestRandomInt(c)		((int)SDL_TestRandom(c))
    1.12 -#define SDL_TestRandomFloat(c)		((double)SDL_TestRandom(c)/(unsigned long)0xffffffff)
    1.13 +#define SDLTest_RandomInt(c)		((int)SDLTest_Random(c))
    1.14  
    1.15  /*
    1.16   * Context structure for the random number generator state.