public inbox for [email protected]  
help / color / mirror / Atom feed
From: Carl Sopchak <[email protected]>
To: [email protected]
Subject: What seed does random() use if setseed() is not called first?
Date: Sat, 23 Jul 2022 17:18:40 -0400
Message-ID: <[email protected]> (raw)

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>There is one point about the documentation for random() and
      setseed() that is missing.  What is used to seed random() if
      setseed() isn't called first?  I assume it's something like
      /dev/random or /dev/urandom, but that's just a guess.  Can someone
      please enlighten me?</p>
    <p>Thanks for the help!</p>
    <p>Carl<br>
    </p>
  </body>
</html>





view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: What seed does random() use if setseed() is not called first?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox