Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mcnc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!unc!mcnc!bts From: bts@mcnc.UUCP (Bruce T. Smith) Newsgroups: net.math Subject: random bignums Message-ID: <2630@mcnc.UUCP> Date: Wed, 6-Mar-85 23:02:26 EST Article-I.D.: mcnc.2630 Posted: Wed Mar 6 23:02:26 1985 Date-Received: Fri, 8-Mar-85 03:20:56 EST Organization: Microelectronics Ctr. of NC; RTP, NC Lines: 8 Does anyone have suggestions for generating random bignums? Currently, we're using several calls to random-- shifting and adding each time-- to generate a number bigger than we need. Then we mod this by the desired upper bound. _____________________________ Bruce T. Smith, MCNC Microelectronics Center of N.C. decvax!mcnc!bts (USENET) P.O. Box 12889, 3021 Cornwallis Rd. bts.mcnc@CSnet-Relay (others) Research Triangle Park, NC 27709