home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 243,234 of 243,242   
   David Brown to Keith Thompson   
   Re: srand(0)   
   20 Feb 26 09:16:04   
   
   XPost: sci.math.num-analysis   
   From: david.brown@hesbynett.no   
      
   On 19/02/2026 23:39, Keith Thompson wrote:   
   > David Brown  writes:   
   > [...]   
   >> As a deterministic function, a PRNG will obviously follow the pattern   
   >> of its generating function.  But the aim is to have no /discernible/   
   >> pattern.  The sequence 3, 4, 2, 1, 1, 7, 0, 6, 7 has no pattern that   
   >> could be identified without knowledge of where they came from - and   
   >> thus no way to predict the next number, 9, in the sequence.  But there   
   >> is a pattern there - it's the 90th - 100th digits of the decimal   
   >> expansion of pi.   
   > [...]   
   >   
   > A Google search for 342117067 gives numerous hits referring to the   
   > digits of pi.   
   >   
      
   That is using knowledge of where the sequence comes from - something   
   else's knowledge rather than your own, but it's the same principle.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca