recent bug in printf ?

David Schultz das at freebsd.org
Sat Apr 19 16:54:14 PDT 2003


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!


More information about the freebsd-current mailing list