From owner-freebsd-standards@FreeBSD.ORG Sun Mar 28 15:18:21 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7CB116A4CE for ; Sun, 28 Mar 2004 15:18:21 -0800 (PST) Received: from VARK.homeunix.com (adsl-69-104-80-69.dsl.pltn13.pacbell.net [69.104.80.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id B109543D3F for ; Sun, 28 Mar 2004 15:18:21 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.11/8.12.10) with ESMTP id i2SNHuIm086524; Sun, 28 Mar 2004 15:17:56 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.11/8.12.10/Submit) id i2SNHu6c086523; Sun, 28 Mar 2004 15:17:56 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Sun, 28 Mar 2004 15:17:56 -0800 From: David Schultz To: Eric De la Cruz Lugo Message-ID: <20040328231756.GA86437@VARK.homeunix.com> Mail-Followup-To: Eric De la Cruz Lugo , freebsd-standards@FreeBSD.ORG References: <1080397817.40658ff979c2e@iteso.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1080397817.40658ff979c2e@iteso.mx> cc: freebsd-standards@FreeBSD.ORG Subject: Re: Question about strtof() function under FreeBSD 4.9 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2004 23:18:22 -0000 On Sat, Mar 27, 2004, Eric De la Cruz Lugo wrote: > I just need to know if the strtof function in will be implemented > soon in the 4.9 Release, I checked the status and the 5.x Branch has it > already, will be long before 4.9 has it too? > > thanks in advance for your help, please reply to my address > because am not in the list. > > Am trying to compile a POS software (Linux, BananaPos) and in > one code I need > that function strtof(). > > showl I upgrade to 5.2.1? Getting strtof() and strtold() involved importing a big chunk of software that isn't going to be backported to 4.X. You can either upgrade to 5.X, or use the following substitute, which should work well except for overflow handling: float strtof(const char * restrict nptr, char ** restrict endptr) { return ((float)strtod(nptr, endptr)); }