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 768FC2F7CA for ; Fri, 29 Sep 2000 05:57:30 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e8T9vUe30894 for axp-list@listman.redhat.com; Fri, 29 Sep 2000 05:57:30 -0400 Received: from bastion.power-x.co.uk (bastion.power-x.co.uk [62.232.19.201]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e8T9vRD30885 for ; Fri, 29 Sep 2000 05:57:27 -0400 Received: from springhead.px.uk.com (IDENT:dg@springhead.px.uk.com [172.16.18.41]) by bastion.power-x.co.uk (8.9.3/8.9.3) with ESMTP id KAA17491 for ; Fri, 29 Sep 2000 10:57:24 +0100 Date: Fri, 29 Sep 2000 10:56:00 +0100 (BST) From: "Dr. David Gilbert" X-Sender: dg@springhead.px.uk.com To: axp-list@redhat.com Subject: Re: long->double->long goes negative In-Reply-To: <39D463D1.945DF157@voicenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Fri, 29 Sep 2000, Uncle George wrote: > so u expect +int -> +float -> -int to be an A-OK situation. Gee what other > positive float numbers would u expect to give u negative results. I'm more surprised by the fact it didn't through a SIGFPE; heck so much as breathing in the wrong way on an Alpha's floating point normally does.... Dave /------------------------------------------------------------------\ | Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258| | -------- G7FHJ --------|---------------------------------------- | | Home: dave@treblig.org http://www.treblig.org | \------------------------------------------------------------------/