| delorie.com/archives/browse.cgi | search |
| Date: | Mon, 20 Jan 2003 21:28:08 +0300 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| 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: | <E18afx3-00015k-00@phekda.freeserve.co.uk> |
| (rich AT phekda DOT freeserve DOT co DOT uk) | |
| Subject: | Re: strtof & HUGE_VALF [PATCH] |
| References: | <E18afx3-00015k-00 AT phekda DOT freeserve DOT co DOT uk> |
| 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 |
> Date: Mon, 20 Jan 2003 17:44:46 +0000 > From: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> > > 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |