From owner-cvs-all Fri Nov 30 5:32: 3 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id E232137B417; Fri, 30 Nov 2001 05:31:56 -0800 (PST) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fAUDVuM89189; Fri, 30 Nov 2001 05:31:56 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 79643380D; Fri, 30 Nov 2001 05:31:56 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Alexey Zelkin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib strtod.c In-Reply-To: <20011130145450.B68788@ark.cris.net> Date: Fri, 30 Nov 2001 05:31:56 -0800 From: Peter Wemm Message-Id: <20011130133156.79643380D@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexey Zelkin wrote: > hi, > > On Fri, Nov 30, 2001 at 04:48:31AM -0800, Alexey Zelkin wrote: > > phantom 2001/11/30 04:48:31 PST > > > > Modified files: > > lib/libc/stdlib strtod.c > > Log: > > Merge NetBSD's changes from netbsd_strtod.c in preparation of > > removing it from our source tree in order to have one version > > of strtod() for all arches. netbsd_strtod.c still left in source > > tree until alpha folks make sure that our native strtod() works > > as well as NetBSD's one. > > This change mostly affects i386 platform since it switch > using 'long' and 'unsigned long' to int32_t and u_int32_t > respectively. I've tested it against my -stable machine and > did not get any negative effect. If you'll get some please notice > me and I'll switch i386 back to old good long's. This is actually a good thing I think. It is possible to configure gcc to have 64 bit long's on i386, and this would be one less thing to break. This strtod implementation *really* wants those to be 32 bit entities much more than it wants it to be some particular type. Thanks! Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message