Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 05:31:56 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Alexey Zelkin <phantom@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdlib strtod.c 
Message-ID:  <20011130133156.79643380D@overcee.netplex.com.au>
In-Reply-To: <20011130145450.B68788@ark.cris.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130133156.79643380D>