pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2016-01-17
2016-01-17 01:50:46 by Martin Nilsson <nilsson@fastmail.com>
90fc6bc3b61f3074810eab26252aa17cceaa6263 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
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;