From: Kevin AT Quitt DOT net (Kevin D. Quitt) Newsgroups: comp.os.msdos.djgpp Subject: Re: floating point/numeric question Date: Fri, 20 Dec 1996 20:35:42 GMT Organization: Cruisin' from home Lines: 18 Message-ID: <32d0f818.146197771@news.pacificnet.net> References: <01ICWAM1K0POAR29Q9 AT mail> Reply-To: Kevin AT Quitt DOT net NNTP-Posting-Host: 207.171.23.21 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 On Thu, 19 Dec 1996 18:18:34 -0500, Gary R Sekinger wrote: >Thanks for the insight, I think I'm doomed. I kinda thought DJGPP >provided some level of platform independence and provided "source code >compatibility" with its Unix counterparts. C does not speak about how FP works, although it does set some minimal constants for what float/doubles must be able to represent. The thing that provides platform independence for floats is the IEEE spec. You source code should produce identical results across machines that are truly IEEE compliant. If you expect to exchange data files between systems, use ASCII, not binary. -- #include _ Kevin D Quitt USA 91351-4454 96.37% of all statistics are made up Per the FCA, this email address may not be added to any commercial mail list