return 3*std*((((float)rand())/RAND_MAX)-.5);
const unsigned int jflone = 0x3f800000; const unsigned int jflmsk = 0x007fffff; union {int i; float f;} ran; *seed = 1664525 * *seed + 1013904223; ran.i = jflone | (jflmsk & *seed); ran.f -= 1; return 1.7321*std*ran.f;
float speex_rand(float std){   return 3*std*((((float)rand())/RAND_MAX)-.5);}