Branch: Tag:

2016-01-17

2016-01-17 01:50:46 by Martin Nilsson <nilsson@fastmail.com>

Less strict type for random(int)

2104:    pop_stack();    }    -  PIKEFUN int(0..) random(int(0..) limit) +  PIKEFUN int(0..) random(int limit)    {    if(limit <= 1) RETURN 0;    int bits = my_log2(limit-1)+1;