From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11874 invoked by alias); 3 Dec 2003 19:09:44 -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 11851 invoked from network); 3 Dec 2003 19:09:43 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 3 Dec 2003 19:09:43 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 27F5A2B8F; Wed, 3 Dec 2003 14:09:38 -0500 (EST) Message-ID: <3FCE34F2.70405@gnu.org> Date: Wed, 03 Dec 2003 19:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Ian Lance Taylor , 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> <20031203181749.GA19055@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00090.txt.bz2 > That sounds reasonable to me. floatformat_to_doublest could contain a > check on HAVE_LONG_DOUBLE and call one or the other. something like floatformat_from_doublest() { #if HAVE_LONG_DOUBLE return floatformat_from_long_double (...) #else return floatformat_from_double (...) } Yes, that would keep GDB insulated from liberty's configuration internals. (Any long term signs of a portable target floating point library (so that the code can completly avoid host fpu assumptions?). glibc's floating-point code has been suggested in the past.) Andrew