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 3E4132F80C for ; Fri, 29 Sep 2000 07:56:41 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e8TBufJ18560 for axp-list@listman.redhat.com; Fri, 29 Sep 2000 07:56:41 -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 e8TBucD18545 for ; Fri, 29 Sep 2000 07:56:39 -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 MAA18791 for ; Fri, 29 Sep 2000 12:56:36 +0100 Date: Fri, 29 Sep 2000 12:55:13 +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: <39D47588.C527FC3D@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: > actuall, in this case it does cause a fault - and its the kernel/math fixup > routines that returns the results u see :-/ So shouldn't they throw a SIGFPE when they realise that they can't fit the integer into the float? Dave /------------------------------------------------------------------\ | Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258| | -------- G7FHJ --------|---------------------------------------- | | Home: dave@treblig.org http://www.treblig.org | \------------------------------------------------------------------/