Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 1995 01:10:00 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@FreeBSD.org, nnd@gw.itfs.nsk.su
Subject:   Re: PERL4&5 broken in -current and 950322-SNAP!
Message-ID:  <199504061510.BAA24533@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>	This is very strange but on FreeBSD-1.1.5.1, FreeBSD-2.0-950210-SNAP,
>SunOS 4.1.3 and ISC 3.0 my test program prints:

>1
>0

>and only on FreeBSD-current I see:

>1
>0.

>(Test program :

>main()
>{
>char b[256];
>sprintf(b,"%g",1.0);
>printf("%s\n",b);
>sprintf(b,"%g",0.0);
>printf("%s\n",b);
>}

It looks like I was too creative editing the 1.1.5 changes for -current :-(.
"0." is only correct for "%#g".  I will fix this soon.

Bruce



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