"Jay Sprenkle" <[EMAIL PROTECTED]> wrote:
> On 1/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > The pseudo-random number generator (PRNG) in SQLite is becoming more
> > important so it seem good to make sure it is well seeded.
> 
> 
> I'd like to be able to seed the random number generator so I can have
> repeatable
> sequences of random numbers (for testing, etc.). The only really random
> numbers
> are generated from hardware, and that's problematic. You can't make it cross
> platform, or even cross processor, without a lot of switches/if
> statements/etc.
> Please pick a pseudo algorithm of your choice and give us the ability to
> seed it?
> 

You already have this capability.  Use the redefinably I/O feature
to insert your own random number seeder in place of the one that
comes built in.
--
D. Richard Hipp  <[EMAIL PROTECTED]>


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to