From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa(arm)/rfc] Eliminate HOST_{FLOAT,DOUBLE,...}_FORMAT Date: Fri, 29 Jun 2001 09:12:00 -0000 Message-id: <3B3CA8E2.9080902@cygnus.com> References: <3B3C1A5C.3060906@cygnus.com> <5137-Fri29Jun2001120040+0300-eliz@is.elta.co.il> <3B3C9C03.7000704@cygnus.com> <4839-Fri29Jun2001185737+0300-eliz@is.elta.co.il> X-SW-Source: 2001-06/msg00528.html > /* Note that if exponent indicates a NaN, we can't really do anything useful >> (not knowing if the host has NaN's, or how to build one). So it will >> end up as an infinity or something close; that is OK. */ > > > Perhaps we should allow each native platform to provide a function > that produces a NaN for every FP type it supports? Then utils.c won't > need to bother about doing things it doesn't know about. We've already (almost) got this. sim/common/sim_fpu.[ch] portably implements exact IEEE floating point (it ``just'' lacks support for 80 floats). Andrew