From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3e9f592176b8fb05 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-25 09:07:03 PST From: "Anisimkov" Newsgroups: comp.lang.ada Subject: Re: Random Number Generator Problem Date: Fri, 25 Jul 2003 23:06:54 +0600 Organization: A poorly-installed InterNetNews site Distribution: world Message-ID: References: <30c81431.0307250634.77148b62@posting.google.com> NNTP-Posting-Host: p17.max.dial.omskelecom.ru X-Trace: ns.omskelecom.ru 1059148509 8082 195.162.36.145 (25 Jul 2003 15:55:09 GMT) X-Complaints-To: usenet@ns.omskelecom.ru NNTP-Posting-Date: Fri, 25 Jul 2003 15:55:09 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!mtu.ru!news3.cnt.ru!news.rosprint.net!radius!not-for-mail Xref: archiver1.google.com comp.lang.ada:40811 Date: 2003-07-25T23:06:54+06:00 List-Id: > I'm generating a series of unsigned 64 bit integers and I get the same > value for about half of the results. I was reporting this bug to ACT. Do not use mod 2**64 types in random generator untill this bug would be fixed. Use mod 2**63 or multiplication of two random numbers of mod 2**32.