From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: strange (incorrect) arithmetic behaviour
Date: Tue, 31 Oct 2000 08:38:15 -0700 [thread overview]
Message-ID: <20001031083815.A11649@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <39FE9C23.7A6CEF2A@msdw.com>; from Richard Polton on Tue, Oct 31, 2000 at 10:17:07AM +0000
On Tue, Oct 31, 2000 at 10:17:07AM +0000, Richard Polton wrote:
>
> I have stock RH6.1 on my LX164 machine.
And the original kernel which came with this distribution?
Numerous problems, some of them in a floating point arithmetic,
were fixed in the meantime.
> When executing the following
> code I see SIGFPE.
......
On Alpha running 2.2.17, with or without optimizations, I see
-339999995214436424907732413799364296704.000000
1.000000
-339999995214436424907732413799364296704.000000
and
-3.4e+38
1
-3.4e+38
if I replace "%f" with a saner here "%g" format specification.
Michal
next prev parent reply other threads:[~2000-10-31 15:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-31 10:17 strange (incorrect) arithmetic behaviour Richard Polton
2000-10-31 12:45 ` Uncle George
2000-10-31 13:42 ` Richard Polton
2000-10-31 14:37 ` Stefan Schroepfer
2000-10-31 15:38 ` Michal Jaegermann [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-10-31 22:36 Phil Carmody
2000-11-02 13:35 ` Stefan Schroepfer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox