Branch: Tag:

2015-11-16

2015-11-16 00:42:14 by Martin Nilsson <nilsson@fastmail.com>

Don't use 0 for max range in my_rand

2106:   {    if(f<=0.0) RETURN 0.0;    -  RETURN (FLOAT_TYPE)ldexp((double)f * my_rand64(0), -64); +  RETURN (FLOAT_TYPE)ldexp((double)f * my_rand64(0xffffffffffffffff), -64);   }      /*! @decl mixed random(array|multiset x)