src/test/SDL_test_fuzzer.c
changeset 6839 2494f667555c
parent 6811 60d95fcfaf3c
child 6872 2f4c95464651
     1.1 --- a/src/test/SDL_test_fuzzer.c	Fri Feb 08 01:12:48 2013 -0800
     1.2 +++ b/src/test/SDL_test_fuzzer.c	Fri Feb 08 07:14:50 2013 -0800
     1.3 @@ -586,7 +586,7 @@
     1.4  float
     1.5  SDLTest_RandomFloat()
     1.6  {
     1.7 -        return (float) (FLT_MIN + SDLTest_RandomUnitDouble() * (FLT_MAX - FLT_MIN));
     1.8 +        return (float) (SDLTest_RandomUnitDouble() * (double)2.0 * (double)FLT_MAX - (double)(FLT_MAX));
     1.9  }
    1.10  
    1.11  double