Thread: Generating a sequence of numbers in a random order

  1. #16
    Registered User
    Join Date
    Jul 2008
    I now that my previous post is pretty wrong, but point is that this randomizing of bits is combined with random value.

    EDIT: I know where i read about it! It was either in man pages or linux howtos, where they talked about using high word and low word in 'ancient' times, and that with "new" random() they don't have to anymore. It was few years ago.

    EDIT2: from "man 3 srand":
    'However, on older rand() implementations, and on current implementations on different systems, the lower-order bits are much less random than the higher-order bits'.

    So, if he's on windows, he could fall into "much less (random)" category...
    Last edited by rasta_freak; 08-12-2008 at 02:12 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Generating Random Numbers
    By Flakster in forum C++ Programming
    Replies: 14
    Last Post: 08-22-2005, 12:50 PM
  2. Generate random numbers in Lucky7 project using C#
    By Grayson_Peddie in forum C# Programming
    Replies: 1
    Last Post: 04-11-2003, 11:03 PM
  3. programming with random numbers
    By xstudent in forum C Programming
    Replies: 13
    Last Post: 05-21-2002, 01:36 AM
  4. Generating Random Numbers
    By knight543 in forum C++ Programming
    Replies: 3
    Last Post: 01-11-2002, 06:55 PM
  5. arranging randomly generated numbers in ascending order
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 11-05-2001, 07:14 PM