Date: Mon, 20 Jan 2003 21:28:08 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <1438-Mon20Jan2003212808+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (rich AT phekda DOT freeserve DOT co DOT uk) Subject: Re: strtof & HUGE_VALF [PATCH] References: Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Mon, 20 Jan 2003 17:44:46 +0000 > From: "Richard Dawe" > > In strtof I added an extra flag to indicate overflow, to avoid > any floating-point comparisons in the overflow case, where we return > HUGE_VALF. Perhaps we could store HUGE_VALF in a "long double", > but I wasn't sure whether: > > (float)(long double) HUGE_VALF == HUGE_VALF > > OK to commit? Yes, it looks fine.