From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18295 invoked from network); 4 Sep 1998 00:41:42 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 4 Sep 1998 00:41:42 -0000 Received: from cygnus.com (runyon.cygnus.com [205.180.230.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA11389 for ; Thu, 3 Sep 1998 20:42:27 -0400 Received: from dot.cygnus.com (dot.cygnus.com [205.180.230.224]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA13348 for ; Thu, 3 Sep 1998 17:41:39 -0700 (PDT) Received: (rth@localhost) by dot.cygnus.com (8.8.7/8.6.4) id RAA32701; Thu, 3 Sep 1998 17:41:39 -0700 Message-ID: <19980903174139.A32696@dot.cygnus.com> Date: Thu, 3 Sep 1998 17:41:39 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: g77 problems Reply-To: Richard Henderson References: <35ECC850.7721DCED@paralleldata.com> <35ED659F.10AAA5AF@treblig.org> <35EE35FB.2DD93032@paralleldata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <35EE35FB.2DD93032@paralleldata.com>; from Wes Bauske on Thu, Sep 03, 1998 at 06:23:55AM +0000 On Thu, Sep 03, 1998 at 06:23:55AM +0000, Wes Bauske wrote: > > What happens with numbers which are so small/large that they can not > > be normalised (sorry I can't remember the term); as far as I understood > > they were valid numbers, but perhaps I'm confused. > > Underflows are set to zero according to the architecture It's called a "denormal". Underflows _may_ be set to zero. In that there is an fpcr bit that one may set to enable this. If it isn't, the processor traps for software emulation of the denormal, which of course looses if you havn't compiled with -mieee. > If a number cannot be represented normalized, you're in > trouble because IEEE FP format has an implied 1 bit in the > mantissa. No, exponent == 0 and mantessa != 0 is a denormal, and does not have the implied 1 bit. r~