From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id D4B6E2F529 for ; Tue, 31 Oct 2000 10:38:18 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e9VFcIo30629 for axp-list@listman.redhat.com; Tue, 31 Oct 2000 10:38:18 -0500 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e9VFcID30622 for ; Tue, 31 Oct 2000 10:38:18 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id IAA11667 for axp-list@redhat.com; Tue, 31 Oct 2000 08:38:15 -0700 Date: Tue, 31 Oct 2000 08:38:15 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: strange (incorrect) arithmetic behaviour Message-ID: <20001031083815.A11649@ellpspace.math.ualberta.ca> References: <39FE9C23.7A6CEF2A@msdw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <39FE9C23.7A6CEF2A@msdw.com>; from Richard Polton on Tue, Oct 31, 2000 at 10:17:07AM +0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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