Date: Tue, 3 Aug 1993 12:11:21 -0500 From: YOUNG U RYU Subject: Default Precision of %f & %g in printf, etc. To: djgpp AT sun DOT soe DOT clarkson DOT edu The default precision of %f, etc. in printf and others is *six* decimal places, in Unix version of gcc and other cc; however, it is *seven* decimal places in djgpp (v1.10). Is it intentional? Or is it a bug? Young +--------------------------------------------------------------------------+ | Young U. Ryu | | Assistant Professor of Information Systems | | Decision Sciences Department | | The University of Texas at Dallas | | | | JO 5.1, Box 830688 (Voice) | | 2601 N. Floyd Road (FAX) 214-690-2799 | | Richardson, Texas 75083-0688 (Electronic) ryoung AT utdallas DOT edu | | USA | +--------------------------------------------------------------------------+