Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site godot.UUCP Path: utzoo!watmath!clyde!burl!hou3c!hocda!houxm!houxz!vax135!floyd!whuxle!mit-eddie!godot!bruce From: bruce@godot.UUCP (Bruce Nemnich) Newsgroups: net.bugs.4bsd,net.lang.lisp Subject: Re: franz lisp (random) bug--really rand() bug Message-ID: <135@godot.UUCP> Date: Wed, 13-Jun-84 22:32:15 EDT Article-I.D.: godot.135 Posted: Wed Jun 13 22:32:15 1984 Date-Received: Thu, 14-Jun-84 07:13:41 EDT References: <134@godot.UUCP> Organization: Thinking Machines, Waltham, MA Lines: 7 I just looked at the source, and (random) just calls rand(3) internally. It is rand() which is alternating even and odd values. random(3) doesn't seem to have this problem, so I changed the call in /usr/src/ucb/lisp/franz/lam8.c to random(). -- --Bruce Nemnich, Thinking Machines Corporation, Waltham, MA {decvax!cca,ihnp4!mit-eddie,allegra!ias}!godot!bruce, BJN@MIT-MC.ARPA