System.Random Algorithm

From: RandomEngineer (RandomEngineer_at_discussions.microsoft.com)
Date: 02/25/05


Date: Fri, 25 Feb 2005 10:04:31 -0800

What´s the algorithm that the .NET System.Random namespace uses? Is it the
same as the previous VB versions i.e. linear-congruential method outlined in
KB231847 or is it a new one.

Also, the autoseed option of System.Random states that it uses a time-based
seed. What is that seed? Ticks, TickCount, or something else.

Thanks.



Relevant Pages

  • Counter Intuitive Results: Optimising an FFT routine for Speed
    ... FFTW 3.0.1 is the latest official version of FFTW ... 20ms ticks and counting in between I could improve resolution to ... algorithm that looks like it came from the Cooley-Tukey paper. ... > It's pretty easy to tell when you've confused the optimizer. ...
    (comp.lang.c)
  • Re: Fast String Case Insensitive IndexOf
    ... IndexOf on a ToUpper performs at 380-400 ticks ... Forward Search (my algorithm going forward through the string) at 100-130 ticks ... Backward Search at 10-20 ticks ... Blog: http://weblogs.asp.net/justin_rogers "Justin Rogers" wrote in message ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to solve the multiple schema definiton case?
    ... ask a followup question? ... you to specify an algorithm that you can use to generate a namespace ... pipeline component is put in the decode stage of the pipeline. ...
    (microsoft.public.biztalk.general)
  • Re: How to test sound freq?
    ... I have made tone generator, using DSound buffers and simply cos ... You say that I can detect tone frequency with that algorithm? ...
    (comp.dsp)