From: Mark Zealey <mark@zealos.org>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: floating point exception
Date: Wed, 16 Jan 2002 22:12:47 +0000 [thread overview]
Message-ID: <20020116221247.GA3769@itsolve.co.uk> (raw)
In-Reply-To: <3C45F7B6.1BCB4519@didntduck.org> <Pine.LNX.3.95.1020116170247.15437A-100000@chaos.analogic.com>
In-Reply-To: <Pine.LNX.3.95.1020116170247.15437A-100000@chaos.analogic.com>
On Wed, Jan 16, 2002 at 05:05:55PM -0500, Richard B. Johnson wrote:
> for(;;)
> {
> srand(seed);
> z = x;
> for(i = 0; i < MAX_FLOAT; i++)
> *z++ = cos((double) rand());
> srand(seed);
> z = y;
> for(i = 0; i < MAX_FLOAT; i++)
> *z++ = cos((double) rand());
> if(memcmp(x, y, MAX_FLOAT * sizeof(double)))
> break;
> seed = rand();
Um, maybe I'm not reading this properly.. why are you randing, doing 1 set and
then using different random values for the other set ?
--
Mark Zealey
mark@zealos.org
mark@itsolve.co.uk
UL++++>$ G!>(GCM/GCS/GS/GM) dpu? s:-@ a16! C++++>$ P++++>+++++$ L+++>+++++$
!E---? W+++>$ N- !o? !w--- O? !M? !V? !PS !PE--@ PGP+? r++ !t---?@ !X---?
!R- b+ !tv b+ DI+ D+? G+++ e>+++++ !h++* r!-- y--
(www.geekcode.com)
next prev parent reply other threads:[~2002-01-16 22:13 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-14 10:56 floating point exception Zwane Mwaikambo
2002-01-14 21:26 ` Christian Thalinger
2002-01-15 14:34 ` Zwane Mwaikambo
2002-01-15 14:46 ` Richard B. Johnson
2002-01-15 18:19 ` Christian Thalinger
2002-01-15 18:31 ` Richard B. Johnson
2002-01-15 18:49 ` Christian Thalinger
2002-01-16 5:45 ` Zwane Mwaikambo
2002-01-16 11:55 ` Christian Thalinger
2002-01-16 14:32 ` Zwane Mwaikambo
2002-01-16 20:26 ` Christian Thalinger
2002-01-16 21:23 ` Richard B. Johnson
2002-01-16 21:59 ` Brian Gerst
2002-01-16 22:05 ` Richard B. Johnson
2002-01-16 22:12 ` Mark Zealey [this message]
2002-01-16 22:23 ` Richard B. Johnson
2002-01-16 23:35 ` Christian Thalinger
-- strict thread matches above, loose matches on Subject: below --
2008-09-03 19:31 Floating " john bryant
[not found] <22AECFD3-98E0-44F9-A19C-1667B41D0675@itfreedom.com>
2008-07-10 17:56 ` Floating Point Exception Cody Jarrett
2008-07-10 18:01 ` Samuel Thibault
2008-07-11 16:27 ` Cody Jarrett
2008-07-11 17:21 ` Samuel Thibault
2008-07-11 18:02 ` Cody Jarrett
2008-07-11 19:20 ` Samuel Thibault
2004-09-11 11:39 Floating point exception Ankit Jain
2004-09-11 14:58 ` Jan-Benedict Glaw
2004-05-31 3:12 kas turi
2002-12-27 14:18 Floating Point Exception Nandakumar NarayanaSwamy
[not found] <000601c28c56$4b9d20a0$7301a8c0@zhongqx>
2002-11-15 4:44 ` Floating point exception rekha gvv
2002-01-13 12:43 floating " Christian Thalinger
2002-01-15 23:28 ` Brian Gerst
2002-01-16 11:45 ` Christian Thalinger
2002-01-16 11:58 ` Dave Jones
2002-01-16 13:14 ` Bruce Harada
2002-01-16 20:06 ` Christian Thalinger
2002-01-17 19:26 ` bill davidsen
2002-01-16 13:52 ` Brian Gerst
2002-01-16 14:28 ` M. Edward (Ed) Borasky
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=20020116221247.GA3769@itsolve.co.uk \
--to=mark@zealos.org \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.