From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: printf("%.6f") Date: Mon, 27 Jan 1997 18:27:57 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 22 Message-ID: <32ED642D.7C0F@cs.com> References: <5cgfka$pp0 AT clark DOT zippo DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp jz AT bcsupernet DOT com wrote: > > >>Can anyone tell me why my printf("%.6f") is running so incredibly slowly? > >>I'm running gcc on a 386 with no copro if that's a clue. The same line > >>compiled under Borland C is MUCH faster. this is more than a pmode problem The problem is most likely because of something in DJGPP's floating point emulation. Nobody else has reported this sort of thing though, so we'd appreciate it if you could post details on your computer's hardware (manufacturer, cpu, ram, hd, etc.) Please also include what version of DJGPP you are running (v1.12, v2.00, v2.01), and the output of the 'go32-v2' command when run from a DOS prompt. -- John M. Aldrich, aka Fighteer I -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---) O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++ e(*)>++++ h!() !r !y+() ------END GEEK CODE BLOCK------