   Signed random number
  Is there a quicky and easy way to generate a signed random number?I know how to make a random between a positive interval, no problem, but what if I want the sign to be random too? Is there a quicker way than doing this:(Pseudocode)Generate random number  -> r;Generate random number between 0 and 1 -> s;If s < 0.5 then return 0 - relse return r 
  signedrandom( int max ) {return( random( 2*max ) - max );}  ToohrVyk;  int signedRand = rand() - RAND_MAX/2;i.e. just substract from the random number half of it''s maximum value ;  Duh, I tried everything but that.Thanks very much to you both 