From: SourceForge.net <no...@so...> - 2005-07-01 08:05:49
|
Bugs item #1230796, was opened at 2005-07-01 10:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1230796&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core Group: Fix for 5.9.2 Status: Open Resolution: None Priority: 5 Submitted By: van_Nek (van_nek) Assigned to: Nobody/Anonymous (nobody) Summary: random is predictable Initial Comment: Maxima version: 5.9.1 Maxima build date: 7:34 9/24/2004 host type: i686-pc-mingw32 lisp-implementation-type: Kyoto Common Lisp lisp-implementation-version: GCL 2.6.5 A fresh Maxima (or after a restart) always returns Maxima 5.9.1 http://maxima.sourceforge.net ... provides bug reporting information. (C1) for n from 1 thru 20 do sprint(random(10)); 9 6 0 2 1 3 8 4 8 0 6 4 4 0 3 9 5 7 9 6 (D1) DONE (C2) Maxima 5.9.1 http://maxima.sourceforge.net ... provides bug reporting information. (C1) for n from 1 thru 20 do sprint(random(10)); 9 6 0 2 1 3 8 4 8 0 6 4 4 0 3 9 5 7 9 6 (D1) DONE Programming some games based on random numbers is a boring thing if you know all the numbers. Is it not possible to use the actual system time as a seed for random? Volker van Nek ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1230796&group_id=4933 |