Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2003 16:54:10 -0700
From:      David Schultz <das@freebsd.org>
To:        Enache Adrian <enache@rdslink.ro>
Cc:        current@freebsd.org
Subject:   Re: recent bug in printf ?
Message-ID:  <20030419235410.GA46590@HAL9000.homeunix.com>
In-Reply-To: <20030419210017.GA1263@ratsnest.hole>
References:  <20030419210017.GA1263@ratsnest.hole>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 20, 2003, Enache Adrian wrote:
> $ gcc -x c - && ./a.out
> #include <stdio.h>
> 
> int main()
> {
>    printf("%.*g\n",8,0.00009);
> }
> ^D
> 9.0000000e-05

My mistake.  Fixed, thanks!



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