K 10 svn:author V 4 ache K 8 svn:date V 27 2008-08-08T01:02:30.645309Z K 7 svn:log V 218 1) Replace hardcoded RANDOM_MAX macro with wrong (1 less than must be) value with ((double)RAND_MAX + 1) 2) For exit code increase valid denominator upper range from 255 to 256 since returned value is [0 .. denom - 1] END