public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Emil Block <blime@his.com>
To: gcc-help@gcc.gnu.org
Subject: Random Number Generator
Date: Fri, 02 Aug 2002 09:48:00 -0000	[thread overview]
Message-ID: <3D4AB78B.B9163FC4@his.com> (raw)

Does anyone know why a call to RAND with G77 returns a different value
than a call to RAND with F77 using the same seed?  The computer is a SUN
Sparc with OS 2.7. The same code is compiled in one case with G77 and in 
the other case with F77.

G77  rand (iseed)     returns 0.563463211
F77  rand (iseed)     returns 0.843506

where iseed = 1375.


Emil Block

             reply	other threads:[~2002-08-02 16:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02  9:48 Emil Block [this message]
2002-08-02 13:00 ` Toon Moene
2002-08-02 14:37   ` Emil Block
2002-08-06  9:02     ` Toon Moene

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D4AB78B.B9163FC4@his.com \
    --to=blime@his.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).