[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9103: 23.3.50; random* from cl does not support the whole range of i
Lars Magne Ingebrigtsen
bug#9103: 23.3.50; random* from cl does not support the whole range of integers
Sun, 11 Sep 2011 05:20:00 +0200
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)
Glenn Morris <address@hidden> writes:
> Glenn Morris wrote:
>> Why does random* even need to exist? What can it do that plain random
> ...non-integer results, it seems.
`random*' ends with
(* (/ n '8388608e0) lim)
if LIM isn't an integer. Anybody willing to hazard a guess why
8388608.0 was chosen?
And would it make sense to just replace it all with a call to `random',
and then make it into a floating point if it floats?
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- bug#9103: 23.3.50; random* from cl does not support the whole range of integers,
Lars Magne Ingebrigtsen <=