From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23502 invoked by alias); 3 Dec 2003 18:47:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 23489 invoked from network); 3 Dec 2003 18:47:16 -0000 Received: from unknown (HELO sadr.equallogic.com) (66.155.203.134) by sources.redhat.com with SMTP; 3 Dec 2003 18:47:16 -0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id hB3IlDf9027743 for ; Wed, 3 Dec 2003 13:47:13 -0500 Received: from deneb.dev.equallogic.com (deneb [172.16.1.99]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id hB3IlCiu027738; Wed, 3 Dec 2003 13:47:12 -0500 Received: from localhost.equallogic.com (localhost.localdomain [127.0.0.1]) by deneb.dev.equallogic.com (8.11.6/8.11.6) with ESMTP id hB3IlBW28076; Wed, 3 Dec 2003 13:47:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16334.12207.926880.316037@gargle.gargle.HOWL> Date: Wed, 03 Dec 2003 18:47:00 -0000 From: Paul Koning To: ian@wasabisystems.com Cc: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com Subject: Re: RFA: Support infinity, NaN, and denormalized numbers in floatformat.c References: <20031203181245.3896.qmail@gossamer.airs.com> X-SW-Source: 2003-12/txt/msg00088.txt.bz2 >>>>> "Ian" == Ian Lance Taylor writes: Ian> Here is a patch to improve the support for infinity, NaN, and Ian> denormalized numbers in floatformat.c. It's not clear how to Ian> handle these for non-IEEE formats. Depends on the specific format. For example, DEC float has NaN, but it doesn't have infinites, and it doesn't have denormals. And since for that format NaN is never produced as the result of arithmetic (its only use is as a memory initialization pattern) it would probably be reasonable enough not to define it. (If you'd want to define it, you may have to use the hex format.) paul