Thread: random number algorythms

  1. #1
    Registered User Aran's Avatar
    Join Date
    Aug 2001

    random number algorythms

    can someone give me a formula or algorythm that will generate a random or pseudo-random number?

    i've always been wondering how this is done...

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Oh man, I saw this somewhere before. I think it's pretty basic from what I remember. It just has some simple operations with large numbers I think.

  3. #3
    source code for this problem.
    "There's always another way"
    -lightatdawn (

  4. #4
    Registered User Scourfish's Avatar
    Join Date
    Mar 2002
    Do a search on google for the "Mersene Twister", it's supposed to be strong enough for industrial use, whatever that means.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Random number in range generation.
    By hebali in forum C Programming
    Replies: 19
    Last Post: 03-04-2008, 10:46 AM
  2. adding a number to a number
    By bigmac(rexdale) in forum C Programming
    Replies: 11
    Last Post: 10-24-2007, 12:56 PM
  3. How exactly does the random number generator work?
    By Finchie_88 in forum C++ Programming
    Replies: 6
    Last Post: 08-24-2007, 12:46 AM
  4. random number tutorial
    By 7stud in forum C++ Programming
    Replies: 3
    Last Post: 07-26-2005, 02:41 PM
  5. Random Number Generator
    By Ikurik in forum C++ Programming
    Replies: 16
    Last Post: 08-17-2003, 07:34 PM