X-Sybari-Trust: ec3b5833 1864f774 2a3f1235 00000138 From: Martin Stromberg Message-Id: <200212171342.OAA29462@lws256.lu.erisoft.se> Subject: Re: strtof (C99) [PATCH] To: djgpp-workers AT delorie DOT com Date: Tue, 17 Dec 2002 14:42:09 +0100 (MET) In-Reply-To: from "Richard Dawe" at Dec 17, 2002 01:26:36 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > Please find below a patch to add strtof. The code is based on strtod. Thanks. But is there any reason not to call strtod() followed by two comparisions for overflow detection (or four, underflow too) and returning that? > Please note that I don't know a whole lot about floating point. I've But then I'm in this class too... Right, MartinS